Skip to content

Commit 373c3ce

Browse files
author
Martin Plieske
committed
moved info text for description, disabled the label of it and shortened the text
1 parent 3a4fe40 commit 373c3ce

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/main/resources/layouts/manage-project.fxml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<?import javafx.scene.layout.ColumnConstraints?>
1111
<?import javafx.scene.layout.GridPane?>
1212
<?import javafx.scene.layout.RowConstraints?>
13+
<?import javafx.scene.layout.VBox?>
1314

1415
<GridPane fx:id="grid" hgap="5.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" vgap="5.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.doubleslash.keeptime.view.ManageProjectController">
1516
<columnConstraints>
@@ -30,13 +31,17 @@
3031
<Label text="Color:" GridPane.rowIndex="3" />
3132
<Label text="IsWork:" GridPane.rowIndex="4" />
3233
<Label text="SortIndex:" GridPane.rowIndex="5" />
33-
<Label text="Description:" GridPane.rowIndex="1" />
3434
<TextField fx:id="nameTextField" GridPane.columnIndex="1" />
3535
<ColorPicker fx:id="textFillColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="3" />
3636
<CheckBox fx:id="isWorkCheckBox" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="4" />
3737
<Spinner fx:id="sortIndexSpinner" GridPane.columnIndex="1" GridPane.rowIndex="5" />
38-
<TextArea fx:id="descriptionTextArea" prefHeight="80.0" prefWidth="200.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
39-
<Label text="Description will be matched at search." GridPane.columnIndex="1" GridPane.rowIndex="2" />
38+
<TextArea fx:id="descriptionTextArea" prefHeight="120.0" prefWidth="300.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
39+
<VBox alignment="CENTER_LEFT" GridPane.rowIndex="1">
40+
<children>
41+
<Label text="Description:" />
42+
<Label disable="true" prefWidth="100.0" text="(will be matched at search)" wrapText="true" />
43+
</children>
44+
</VBox>
4045
</children>
4146
<padding>
4247
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />

0 commit comments

Comments
 (0)