|
4 | 4 | <?import javafx.scene.control.ComboBox?> |
5 | 5 | <?import javafx.scene.control.DatePicker?> |
6 | 6 | <?import javafx.scene.control.Label?> |
| 7 | +<?import javafx.scene.control.Spinner?> |
7 | 8 | <?import javafx.scene.control.TextField?> |
8 | 9 | <?import javafx.scene.layout.ColumnConstraints?> |
9 | 10 | <?import javafx.scene.layout.GridPane?> |
10 | 11 | <?import javafx.scene.layout.RowConstraints?> |
11 | | -<?import tornadofx.control.DateTimePicker?> |
12 | 12 |
|
13 | | -<GridPane fx:id="grid" hgap="5.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="160.0" prefWidth="263.0" vgap="5.0" xmlns="http://javafx.com/javafx/8.0.202-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.doubleslash.keeptime.view.ManageWorkController"> |
| 13 | +<GridPane fx:id="grid" hgap="5.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="214.0" prefWidth="371.0" vgap="5.0" xmlns="http://javafx.com/javafx/8.0.202-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.doubleslash.keeptime.view.ManageWorkController"> |
14 | 14 | <columnConstraints> |
15 | 15 | <ColumnConstraints hgrow="SOMETIMES" /> |
16 | | - <ColumnConstraints hgrow="SOMETIMES" /> |
| 16 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="200.0" minWidth="100.0" prefWidth="150.0" /> |
| 17 | + <ColumnConstraints hgrow="SOMETIMES" maxWidth="200.0" minWidth="100.0" prefWidth="150.0" /> |
17 | 18 | </columnConstraints> |
18 | 19 | <rowConstraints> |
19 | 20 | <RowConstraints vgrow="SOMETIMES" /> |
20 | 21 | <RowConstraints vgrow="SOMETIMES" /> |
21 | 22 | <RowConstraints vgrow="SOMETIMES" /> |
22 | 23 | <RowConstraints vgrow="SOMETIMES" /> |
23 | | - <RowConstraints vgrow="SOMETIMES" /> |
24 | | - <RowConstraints vgrow="SOMETIMES" /> |
25 | | - <RowConstraints vgrow="SOMETIMES" /> |
26 | 24 | </rowConstraints> |
27 | 25 | <children> |
28 | 26 | <Label text="Start Time" /> |
29 | | - <DateTimePicker fx:id="startTimePicker" GridPane.columnIndex="1" /> |
| 27 | + <DatePicker fx:id="startDatePicker" GridPane.columnIndex="1" /> |
30 | 28 | <Label text="End Time" GridPane.rowIndex="1" /> |
31 | | - <DateTimePicker fx:id="endTimePicker" GridPane.columnIndex="1" GridPane.rowIndex="1" /> |
32 | | - <Label text="Creation Date" GridPane.rowIndex="2" /> |
33 | | - <DatePicker fx:id="creationDatePicker" GridPane.columnIndex="1" GridPane.rowIndex="2" /> |
34 | | - <Label text="Project" GridPane.rowIndex="3" /> |
35 | | - <ComboBox fx:id="projectComboBox" prefHeight="25.0" prefWidth="174.0" visibleRowCount="4" GridPane.columnIndex="1" GridPane.rowIndex="3" /> |
36 | | - <Label text="notes" GridPane.rowIndex="4" /> |
37 | | - <TextField fx:id="noteTextBox" GridPane.columnIndex="1" GridPane.rowIndex="4" /> |
| 29 | + <DatePicker fx:id="endDatePicker" GridPane.columnIndex="1" GridPane.rowIndex="1" /> |
| 30 | + <Label text="Project" GridPane.rowIndex="2" /> |
| 31 | + <ComboBox fx:id="projectComboBox" prefWidth="400.0" visibleRowCount="4" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="2" /> |
| 32 | + <Label text="notes" GridPane.rowIndex="3" /> |
| 33 | + <TextField fx:id="noteTextBox" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="3" /> |
| 34 | + <Spinner fx:id="startTimeSpinner" editable="true" GridPane.columnIndex="2" /> |
| 35 | + <Spinner fx:id="endTimeSpinner" editable="true" GridPane.columnIndex="2" GridPane.rowIndex="1" /> |
38 | 36 | </children> |
39 | 37 | <padding> |
40 | 38 | <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" /> |
|
0 commit comments