<?xml version="1.0" encoding="UTF-8"?>

<?import com.jfoenix.controls.JFXButton?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import org.kordamp.ikonli.javafx.FontIcon?>
<VBox xmlns:fx="http://javafx.com/fxml"
      xmlns="http://javafx.com/javafx"
      fx:controller="fr.insa.clavardator.client.ui.ToolbarController"
      stylesheets="@styles.css" styleClass="container">
  <HBox alignment="CENTER_LEFT" prefHeight="64.0" spacing="10">
    <padding>
      <Insets left="20" right="20"/>
    </padding>
    <Label text="Connecté en tant que : "/>
    <Label text="&lt;USERNAME&gt;" fx:id="currentUsernameLabel"/>
    <JFXButton mnemonicParsing="false" onMouseClicked="#onEditPress">
      <graphic>
        <FontIcon iconLiteral="fas-user-edit" iconSize="24"/>
      </graphic>
    </JFXButton>
    <Pane HBox.hgrow="ALWAYS"/>
    <JFXButton mnemonicParsing="false" onMouseClicked="#onAboutPress">
      <graphic>
        <FontIcon iconLiteral="fas-info" iconSize="24"/>
      </graphic>
    </JFXButton>
  </HBox>
</VBox>
