Skip to content

Commit

Permalink
[wip] Switch options view to grid layout
Browse files Browse the repository at this point in the history
  • Loading branch information
lexun committed Feb 6, 2015
1 parent 056d476 commit 76306a9
Showing 1 changed file with 83 additions and 8 deletions.
91 changes: 83 additions & 8 deletions lib/launchpad/gui/fxml/options.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,104 @@
<?import java.lang.*?>
<?import javafx.scene.layout.*?>


<TabPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="240.0" prefWidth="500.0" tabClosingPolicy="UNAVAILABLE" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<TabPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefWidth="700.0" tabClosingPolicy="UNAVAILABLE" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<tabs>
<Tab text="Basic">
<content>
<VBox prefHeight="200.0" prefWidth="100.0">
<GridPane vgap="20.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" maxWidth="255.89999999999998" minWidth="10.0" percentWidth="30.0" prefWidth="202.9" />
<ColumnConstraints halignment="CENTER" hgrow="SOMETIMES" maxWidth="481.0" minWidth="10.0" prefWidth="481.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="Installation Directory">
<Label alignment="CENTER" text="Installation Directory">
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Label>
<TextField prefHeight="25.0" prefWidth="300.0">
</children>
<padding>
<Insets bottom="20.0" left="20.0" top="20.0" />
</padding>
</HBox>
<HBox alignment="CENTER" GridPane.columnIndex="1">
<children>
<TextField alignment="CENTER" HBox.hgrow="SOMETIMES">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
</children>
<padding>
<Insets bottom="20.0" right="20.0" top="20.0" />
</padding>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0" GridPane.rowIndex="1">
<children>
<Label alignment="CENTER" text="Installation Directory">
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Label>
</children>
<padding>
<Insets bottom="20.0" left="20.0" top="20.0" />
</padding>
</HBox>
<HBox alignment="CENTER" layoutX="10.0" layoutY="77.0" prefHeight="100.0" prefWidth="200.0" GridPane.rowIndex="2">
<children>
<Label alignment="CENTER" text="Installation Directory">
<HBox.margin>
<Insets right="10.0" />
</HBox.margin>
</Label>
</children>
<padding>
<Insets bottom="20.0" left="20.0" top="20.0" />
</padding>
</HBox>
<HBox alignment="CENTER" layoutX="220.0" layoutY="18.0" GridPane.columnIndex="1" GridPane.rowIndex="1">
<children>
<TextField alignment="CENTER" HBox.hgrow="SOMETIMES">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
</children>
<padding>
<Insets bottom="20.0" right="20.0" top="20.0" />
</padding>
</HBox>
<HBox alignment="CENTER" layoutX="220.0" layoutY="78.0" GridPane.columnIndex="1" GridPane.rowIndex="2">
<children>
<TextField alignment="CENTER" HBox.hgrow="SOMETIMES">
<HBox.margin>
<Insets left="10.0" />
</HBox.margin>
</TextField>
</children>
<padding>
<Insets bottom="20.0" right="20.0" top="20.0" />
</padding>
</HBox>
</children>
<padding>
<Insets bottom="20.0" top="20.0" />
</padding>
</GridPane>
</content>
</Tab>
<Tab text="Advanced">
<content>
<VBox prefHeight="200.0" prefWidth="100.0">
<children>
<HBox alignment="CENTER" layoutX="10.0" layoutY="10.0" prefHeight="100.0" prefWidth="200.0">
<children>
<Label text="Installation Directory">
Expand Down Expand Up @@ -56,8 +133,6 @@
</HBox>
</children>
</VBox>
</content>
</Tab>
<Tab text="Advanced" />
</content></Tab>
</tabs>
</TabPane>

0 comments on commit 76306a9

Please sign in to comment.