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

<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXDialogLayout?>
<?import com.jfoenix.controls.JFXToggleButton?>
<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<JFXDialogLayout fx:id="keyBindDialog" maxHeight="-Infinity" maxWidth="-Infinity"
  minHeight="-Infinity" minWidth="-Infinity" prefHeight="580.0" prefWidth="500.0"
  xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
  fx:controller="seng302.visualiser.controllers.dialogs.KeyBindingDialogController">
   <children>
      <GridPane>
        <columnConstraints>
            <ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0"/>
            <ColumnConstraints hgrow="SOMETIMES" minWidth="100.0" prefWidth="100.0"/>
        </columnConstraints>
        <rowConstraints>
            <RowConstraints maxHeight="60.0" minHeight="60.0" prefHeight="60.0" vgrow="SOMETIMES" />
            <RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="50.0" minHeight="50.0" prefHeight="50.0" vgrow="SOMETIMES"/>
            <RowConstraints maxHeight="-Infinity" minHeight="-Infinity" prefHeight="70.0"
              vgrow="SOMETIMES"/>
        </rowConstraints>
         <children>
            <Label fx:id="keyBindingDialogHeader" text="CUSTOM KEYBIND" GridPane.columnSpan="2" GridPane.halignment="CENTER" GridPane.valignment="CENTER" />
             <Label text="ZOOM IN" GridPane.halignment="CENTER" GridPane.rowIndex="1"
               GridPane.valignment="CENTER">
               <GridPane.margin>
                   <Insets/>
               </GridPane.margin></Label>
             <Label text="ZOOM OUT" GridPane.halignment="CENTER" GridPane.rowIndex="2"
               GridPane.valignment="CENTER">
               <GridPane.margin>
                   <Insets/>
               </GridPane.margin></Label>
             <Label text="VMG" GridPane.halignment="CENTER" GridPane.rowIndex="3"
               GridPane.valignment="CENTER">
               <GridPane.margin>
                   <Insets/>
               </GridPane.margin></Label>
             <Label text="SAILS IN/OUT" GridPane.halignment="CENTER" GridPane.rowIndex="4"
               GridPane.valignment="CENTER">
               <GridPane.margin>
                   <Insets/>
               </GridPane.margin></Label>
             <Label text="TACK/GYBE" GridPane.halignment="CENTER" GridPane.rowIndex="5"
               GridPane.valignment="CENTER">
               <GridPane.margin>
                   <Insets/>
               </GridPane.margin></Label>
             <Label fx:id="upwindLabel" text="UPWIND" GridPane.halignment="CENTER"
               GridPane.rowIndex="6" GridPane.valignment="CENTER">
               <GridPane.margin>
                   <Insets/>
               </GridPane.margin></Label>
             <Label fx:id="downwindLabel" text="DOWNWIND" GridPane.halignment="CENTER"
               GridPane.rowIndex="7" GridPane.valignment="CENTER">
               <GridPane.margin>
                   <Insets/>
               </GridPane.margin></Label>
             <JFXButton id="ZOOM IN" fx:id="zoomInbtn" buttonType="RAISED" maxHeight="-Infinity"
               maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity" prefWidth="120.0" text="Z"
               GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="1"
               GridPane.valignment="CENTER"/>
             <JFXButton id="ZOOM OUT" fx:id="zoomOutBtn" buttonType="RAISED" maxHeight="-Infinity"
               maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity" prefWidth="120.0" text="X"
               GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="2"
               GridPane.valignment="CENTER"/>
             <JFXButton id="VMG" fx:id="vmgBtn" buttonType="RAISED" maxHeight="-Infinity"
               maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity" prefWidth="120.0"
               text="SPACE" GridPane.columnIndex="1" GridPane.halignment="CENTER"
               GridPane.rowIndex="3" GridPane.valignment="CENTER"/>
             <JFXButton id="SAILS IN/OUT" fx:id="sailInOutBtn" buttonType="RAISED"
               maxHeight="-Infinity" maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity"
               prefWidth="120.0" text="SHIFT" GridPane.columnIndex="1" GridPane.halignment="CENTER"
               GridPane.rowIndex="4" GridPane.valignment="CENTER"/>
             <JFXButton id="TACK/GYBE" fx:id="tackGybeBtn" buttonType="RAISED" maxHeight="-Infinity"
               maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity" prefWidth="120.0"
               text="ENTER" GridPane.columnIndex="1" GridPane.halignment="CENTER"
               GridPane.rowIndex="5" GridPane.valignment="CENTER"/>
             <JFXButton id="UPWIND" fx:id="upwindBtn" buttonType="RAISED" maxHeight="-Infinity"
               maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity" prefWidth="120.0"
               text="PAGE_UP" GridPane.columnIndex="1" GridPane.halignment="CENTER"
               GridPane.rowIndex="6" GridPane.valignment="CENTER"/>
             <JFXButton id="DOWNWIND" fx:id="downwindBtn" buttonType="RAISED" maxHeight="-Infinity"
               maxWidth="-Infinity" minHeight="35.0" minWidth="-Infinity" prefWidth="120.0"
               text="PAGE_DOWN" GridPane.columnIndex="1" GridPane.halignment="CENTER"
               GridPane.rowIndex="7" GridPane.valignment="CENTER"/>
             <JFXToggleButton fx:id="turningToggle" minHeight="-Infinity" prefHeight="35.0"
               text="OFF / ON" GridPane.columnIndex="1" GridPane.halignment="CENTER"
               GridPane.rowIndex="8"/>
             <Label text="CONTINUOUSLY TURNING" GridPane.halignment="CENTER" GridPane.rowIndex="8"
               GridPane.valignment="CENTER">
                 <GridPane.margin>
                     <Insets/>
                 </GridPane.margin>
             </Label>
             <JFXButton fx:id="resetBtn" buttonType="RAISED" maxHeight="-Infinity"
               maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="45.0"
               prefWidth="150.0" text="RESET" GridPane.columnSpan="2" GridPane.halignment="CENTER"
               GridPane.rowIndex="9" GridPane.valignment="CENTER"/>
             <Label fx:id="closeLabel" text="✖" translateY="-5.0" GridPane.columnIndex="1"
               GridPane.halignment="RIGHT" GridPane.valignment="TOP"/>
         </children>
      </GridPane>
   </children>
   <stylesheets>
      <URL value="@../../css/dialogs/KeyBindingDialog.css" />
      <URL value="@../../css/Master.css" />
   </stylesheets>
</JFXDialogLayout>
