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

<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIconView?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.text.Font?>

<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="235.0" prefWidth="366.0" style="-fx-background-color: lightblue" xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml">
  <children>
    <GridPane id="GridPane" layoutX="48.0" layoutY="115.0" prefHeight="64.0" prefWidth="269.0">
      <children>
        <TextField fx:id="username" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="0" />
        <PasswordField fx:id="password" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="2" />
        <Label text="Usuário" GridPane.columnIndex="0" GridPane.rowIndex="0" />
        <Label text="Senha" GridPane.columnIndex="0" GridPane.rowIndex="2" />
      </children>
      <columnConstraints>
        <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
        <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
      </columnConstraints>
      <rowConstraints>
        <RowConstraints maxHeight="44.0" minHeight="10.0" prefHeight="27.0" vgrow="SOMETIMES" />
            <RowConstraints maxHeight="25.0" minHeight="8.0" prefHeight="25.0" vgrow="SOMETIMES" />
            <RowConstraints />
      </rowConstraints>
    </GridPane>
    <Label layoutX="45.0" layoutY="36.0" text="Bem-vindo ao JKAWFLEX " textFill="#664900">
      <font>
        <Font name="System Bold" size="18.0" />
      </font>
    </Label>
    <Label fx:id="header" layoutX="48.0" layoutY="82.0" text="Por favor entre com seu usuário e senha:" textFill="GREY" />
    <Button fx:id="btnLogin" contentDisplay="RIGHT" defaultButton="true" layoutX="258.0" layoutY="195.0" mnemonicParsing="false" onAction="#login" text="Entrar">
         <graphic>
            <FontAwesomeIconView glyphName="SIGN_IN" nodeOrientation="RIGHT_TO_LEFT" textAlignment="JUSTIFY" />
         </graphic></Button>
    
  </children>
</AnchorPane>
