Table: Minor design changes

This commit is contained in:
Carlos Galindo 2019-09-13 11:45:20 +02:00
parent a50965fdb6
commit 43ef5e7826
Signed by: kauron
GPG Key ID: 83E68706DEE119A3
1 changed files with 8 additions and 7 deletions

View File

@ -11,12 +11,7 @@
<children>
<TextField fx:id="newQuestionField" promptText="Question" HBox.hgrow="ALWAYS" />
<TextField fx:id="newAnswerField" promptText="Answer" HBox.hgrow="ALWAYS" />
<Button fx:id="addButton" defaultButton="true" maxWidth="1.7976931348623157E308" onAction="#onAddAction" prefWidth="105.0" text="_Add new" HBox.hgrow="SOMETIMES">
<tooltip>
<Tooltip text="Add a new entry to the table" />
</tooltip>
</Button>
<Button onAction="#onCancelAction" cancelButton="true" >
<Button cancelButton="true" onAction="#onCancelAction">
<graphic>
<ImageView fitHeight="10.0" preserveRatio="true">
<Image url="@../img/Delete.png" />
@ -26,8 +21,14 @@
<Tooltip text="Clear question and answer fields, and cancel edit" />
</tooltip>
</Button>
<Button fx:id="addButton" defaultButton="true" maxWidth="1.7976931348623157E308" onAction="#onAddAction" text="_Add new" HBox.hgrow="SOMETIMES">
<tooltip>
<Tooltip text="Add a new entry to the table" />
</tooltip>
</Button>
<Separator orientation="VERTICAL" />
<TextField fx:id="searchField" maxWidth="1.7976931348623157E308" promptText="Search..." HBox.hgrow="ALWAYS" />
<Button onAction="#onTestAction" prefWidth="105.0" text="_Test all">
<Button onAction="#onTestAction" text="Start _test">
<tooltip>
<Tooltip text="Begin a test for the whole table" />
</tooltip>