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

<?import java.lang.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ScrollBar?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Region?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.layout.VBox?>

<GridPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="600.0" vgap="10.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="ui.SettingsWindow">
  <columnConstraints>
    <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
    <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
  </columnConstraints>
  <rowConstraints>
    <RowConstraints maxHeight="226.0" minHeight="10.0" prefHeight="155.0" vgrow="SOMETIMES" />
    <RowConstraints maxHeight="223.0" minHeight="10.0" prefHeight="214.0" vgrow="SOMETIMES" />
    <RowConstraints maxHeight="101.0" minHeight="0.0" prefHeight="95.0" vgrow="SOMETIMES" />
      <RowConstraints maxHeight="80.0" minHeight="10.0" prefHeight="47.0" vgrow="SOMETIMES" />
  </rowConstraints>
   <children>
      <Button fx:id="saveButton" mnemonicParsing="false" onAction="#saveClicked" text="Ok" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="3" GridPane.valignment="CENTER" />
      <TitledPane animated="false" collapsible="false" text="Filling Hole" GridPane.columnSpan="2">
         <content>
            <HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="200.0">
               <children>
                  <Label prefHeight="54.0" prefWidth="359.0" text="Add a hole to the object. Helps filling water into the object after printing" wrapText="true" />
                  <Region prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" />
                  <CheckBox fx:id="holeCheckBox" mnemonicParsing="false" onAction="#fillHoleChecked" />
               </children>
            </HBox>
         </content>
      </TitledPane>
      <TitledPane animated="false" collapsible="false" text="Conductive Sizes" GridPane.columnSpan="2" GridPane.rowIndex="1">
         <content>
            <VBox prefHeight="200.0" prefWidth="100.0">
               <children>
                  <HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="200.0">
                     <children>
                        <Label fx:id="touchscreenLabel" text="Conductive dot diameter touchscreen: 4.0mm" wrapText="true" />
                        <Region prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" />
                        <ScrollBar fx:id="touchscreenSlider" prefHeight="22.0" prefWidth="250.0" value="40.0" />
                     </children>
                  </HBox>
                  <HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="200.0">
                     <children>
                        <Label fx:id="fingerLabel" text="Conducitve dot diameter finger: 4.0mm" wrapText="true" />
                        <Region prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" />
                        <ScrollBar fx:id="fingerSlider" prefHeight="22.0" prefWidth="230.0" value="40.0" />
                     </children>
                  </HBox>
               </children>
            </VBox>
         </content>
      </TitledPane>
      <TitledPane animated="false" collapsible="false" text="OpenSCAD" GridPane.columnSpan="2" GridPane.rowIndex="2">
         <content>
            <HBox alignment="CENTER_LEFT" prefHeight="100.0" prefWidth="200.0">
               <children>
                  <Label prefHeight="27.0" prefWidth="247.0" text="OpenSCAD Folder" wrapText="true" />
                  <Button fx:id="scadPath" mnemonicParsing="false" onAction="#pathClicked" prefHeight="39.0" prefWidth="376.0" text="Button" />
               </children>
            </HBox>
         </content>
      </TitledPane>
      <Button mnemonicParsing="false" onAction="#cancelSettings" text="Cancel" GridPane.halignment="CENTER" GridPane.rowIndex="3" GridPane.valignment="CENTER" />
   </children>
   <padding>
      <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
   </padding>
</GridPane>
