|
3 | 3 | <?import javafx.geometry.*?> |
4 | 4 | <?import javafx.scene.control.*?> |
5 | 5 | <?import javafx.scene.layout.*?> |
| 6 | +<?import javafx.scene.text.*?> |
6 | 7 |
|
7 | 8 | <VBox alignment="CENTER" spacing="20.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" |
8 | 9 | fx:controller="fjwright.runreduce.FontColorsDialog"> |
|
18 | 19 | <RowConstraints/> |
19 | 20 | <RowConstraints/> |
20 | 21 | <RowConstraints/> |
| 22 | + <RowConstraints/> |
| 23 | + <RowConstraints/> |
21 | 24 | </rowConstraints> |
| 25 | + <Label text="Text Colours" GridPane.columnSpan="2147483647" GridPane.halignment="CENTER"> |
| 26 | + <font> |
| 27 | + <Font size="14.0"/> |
| 28 | + </font> |
| 29 | + <padding> |
| 30 | + <Insets bottom="2.0"/> |
| 31 | + </padding> |
| 32 | + </Label> |
22 | 33 | <Label fx:id="algebraicInputLabel" style="-fx-background-color: white; -fx-label-padding: 2;" |
23 | | - text="Algebraic Input" GridPane.columnIndex="0" GridPane.rowIndex="0"/> |
24 | | - <ColorPicker fx:id="algebraicInputColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="0"/> |
| 34 | + text="Algebraic Input" GridPane.columnIndex="0" GridPane.rowIndex="1"/> |
| 35 | + <ColorPicker fx:id="algebraicInputColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="1"/> |
25 | 36 | <Label fx:id="symbolicInputLabel" style="-fx-background-color: white; -fx-label-padding: 2;" |
26 | | - text="Symbolic Input" GridPane.columnIndex="0" GridPane.rowIndex="1"/> |
27 | | - <ColorPicker fx:id="symbolicInputColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="1"/> |
| 37 | + text="Symbolic Input" GridPane.columnIndex="0" GridPane.rowIndex="2"/> |
| 38 | + <ColorPicker fx:id="symbolicInputColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="2"/> |
28 | 39 | <Label fx:id="algebraicOutputLabel" style="-fx-background-color: white; -fx-label-padding: 2;" |
29 | | - text="Algebraic Output" GridPane.columnIndex="0" GridPane.rowIndex="2"/> |
30 | | - <ColorPicker fx:id="algebraicOutputColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="2"/> |
| 40 | + text="Algebraic Output" GridPane.columnIndex="0" GridPane.rowIndex="3"/> |
| 41 | + <ColorPicker fx:id="algebraicOutputColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="3"/> |
31 | 42 | <Label fx:id="symbolicOutputLabel" style="-fx-background-color: white; -fx-label-padding: 2;" |
32 | | - text="Symbolic Output" GridPane.columnIndex="0" GridPane.rowIndex="3"/> |
33 | | - <ColorPicker fx:id="symbolicOutputColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="3"/> |
| 43 | + text="Symbolic Output" GridPane.columnIndex="0" GridPane.rowIndex="4"/> |
| 44 | + <ColorPicker fx:id="symbolicOutputColorPicker" GridPane.columnIndex="1" GridPane.rowIndex="4"/> |
| 45 | + <Label text="Background Colours" GridPane.columnSpan="2147483647" GridPane.halignment="CENTER" |
| 46 | + GridPane.rowIndex="5"> |
| 47 | + <font> |
| 48 | + <Font size="14.0"/> |
| 49 | + </font> |
| 50 | + <padding> |
| 51 | + <Insets bottom="2.0" top="10.0"/> |
| 52 | + </padding> |
| 53 | + </Label> |
34 | 54 | <Label fx:id="warningLabel" style="-fx-label-padding: 2;" text="Warning" GridPane.columnIndex="0" |
35 | | - GridPane.rowIndex="4"/> |
| 55 | + GridPane.rowIndex="6"/> |
36 | 56 | <ColorPicker fx:id="warningColorPicker" onAction="#warningColourAction" GridPane.columnIndex="1" |
37 | | - GridPane.rowIndex="4"/> |
| 57 | + GridPane.rowIndex="6"> |
| 58 | + <tooltip> |
| 59 | + <Tooltip fx:id="backgroundTooltip" |
| 60 | + text="Background colours are partially transparent by default. Click on Custom Color... to change the opacity."/> |
| 61 | + </tooltip> |
| 62 | + </ColorPicker> |
38 | 63 | <Label fx:id="errorLabel" style="-fx-label-padding: 2;" text="Error" GridPane.columnIndex="0" |
39 | | - GridPane.rowIndex="5"/> |
| 64 | + GridPane.rowIndex="7"/> |
40 | 65 | <ColorPicker fx:id="errorColorPicker" onAction="#errorColourAction" GridPane.columnIndex="1" |
41 | | - GridPane.rowIndex="5"/> |
| 66 | + GridPane.rowIndex="7"> |
| 67 | + <tooltip> |
| 68 | + <fx:reference source="backgroundTooltip"/> |
| 69 | + </tooltip> |
| 70 | + </ColorPicker> |
42 | 71 | </GridPane> |
43 | 72 | <HBox alignment="CENTER" spacing="20.0"> |
44 | 73 | <Button mnemonicParsing="false" onAction="#resetDefaultsButtonAction" text="Reset Defaults"/> |
|
0 commit comments