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

<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXTextField?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.layout.HBox?>
<?import org.kordamp.ikonli.javafx.FontIcon?>
<HBox xmlns:fx="http://javafx.com/fxml"
      xmlns="http://javafx.com/javafx"
      fx:controller="fr.insa.clavardator.client.ui.chat.ChatFooterController"
      stylesheets="@../styles.css" styleClass="container" alignment="CENTER" spacing="10.0" fx:id="container">
  <padding>
    <Insets bottom="20.0" left="20.0" right="20.0" top="20.0"/>
  </padding>
  <JFXTextField HBox.hgrow="ALWAYS" fx:id="textField"/>
  <JFXButton mnemonicParsing="false" onMouseClicked="#onAttachmentPress" fx:id="attachButton">
    <graphic>
      <FontIcon iconLiteral="fas-paperclip" iconSize="24"/>
    </graphic>
  </JFXButton>
  <JFXButton mnemonicParsing="false" text="Envoyer" onMouseClicked="#onSend" fx:id="sendButton">
    <graphic>
      <FontIcon iconLiteral="fas-paper-plane" iconSize="24"/>
    </graphic>
  </JFXButton>
</HBox>
