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

<?import com.jfoenix.controls.JFXButton?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.layout.*?>
<?import org.kordamp.ikonli.javafx.FontIcon?>
<AnchorPane xmlns:fx="http://javafx.com/fxml/1"
            xmlns="http://javafx.com/javafx/11.0.1" fx:controller="fr.insa.clavardator.client.ui.users.UserListController"
            stylesheets="@../styles.css" styleClass="container">
  <VBox AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0"
        AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
    <HBox alignment="CENTER" prefHeight="64.0" spacing="10.0">
      <JFXButton mnemonicParsing="false" text="Utilisateurs" onMouseClicked="#onRefreshUserListPress"
                 fx:id="refreshButton">
        <graphic>
          <FontIcon iconLiteral="fas-sync-alt" iconSize="24"/>
        </graphic>
      </JFXButton>
    </HBox>
    <ListView fx:id="peerUserListView" VBox.vgrow="ALWAYS"/>
  </VBox>
</AnchorPane>
