mirror of
https://gitlab.com/kauron/jstudy
synced 2024-11-13 07:33:44 +01:00
Table: Minor design changes
This commit is contained in:
parent
a50965fdb6
commit
43ef5e7826
1 changed files with 8 additions and 7 deletions
|
@ -11,12 +11,7 @@
|
||||||
<children>
|
<children>
|
||||||
<TextField fx:id="newQuestionField" promptText="Question" HBox.hgrow="ALWAYS" />
|
<TextField fx:id="newQuestionField" promptText="Question" HBox.hgrow="ALWAYS" />
|
||||||
<TextField fx:id="newAnswerField" promptText="Answer" 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">
|
<Button cancelButton="true" onAction="#onCancelAction">
|
||||||
<tooltip>
|
|
||||||
<Tooltip text="Add a new entry to the table" />
|
|
||||||
</tooltip>
|
|
||||||
</Button>
|
|
||||||
<Button onAction="#onCancelAction" cancelButton="true" >
|
|
||||||
<graphic>
|
<graphic>
|
||||||
<ImageView fitHeight="10.0" preserveRatio="true">
|
<ImageView fitHeight="10.0" preserveRatio="true">
|
||||||
<Image url="@../img/Delete.png" />
|
<Image url="@../img/Delete.png" />
|
||||||
|
@ -26,8 +21,14 @@
|
||||||
<Tooltip text="Clear question and answer fields, and cancel edit" />
|
<Tooltip text="Clear question and answer fields, and cancel edit" />
|
||||||
</tooltip>
|
</tooltip>
|
||||||
</Button>
|
</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" />
|
<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>
|
||||||
<Tooltip text="Begin a test for the whole table" />
|
<Tooltip text="Begin a test for the whole table" />
|
||||||
</tooltip>
|
</tooltip>
|
||||||
|
|
Loading…
Reference in a new issue