|
3 | 3 | <?import javafx.geometry.Insets?> |
4 | 4 | <?import javafx.scene.control.*?> |
5 | 5 | <?import javafx.scene.layout.*?> |
6 | | -<BorderPane xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.thecoderscorner.embedcontrol.jfx.controlmgr.panels.ColorSettingsController"> |
| 6 | +<BorderPane xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" |
| 7 | + fx:controller="com.thecoderscorner.embedcontrol.jfx.controlmgr.panels.ColorSettingsController"> |
7 | 8 | <padding> |
8 | | - <Insets bottom="5.0" left="5.0" right="5.0" top="5.0" /> |
| 9 | + <Insets bottom="5.0" left="5.0" right="5.0" top="5.0"/> |
9 | 10 | </padding> |
10 | 11 | <center> |
11 | 12 | <GridPane BorderPane.alignment="CENTER"> |
12 | 13 | <columnConstraints> |
13 | | - <ColumnConstraints hgrow="SOMETIMES" /> |
14 | | - <ColumnConstraints hgrow="SOMETIMES" /> |
15 | | - <ColumnConstraints hgrow="SOMETIMES" /> |
| 14 | + <ColumnConstraints hgrow="SOMETIMES"/> |
| 15 | + <ColumnConstraints hgrow="SOMETIMES"/> |
| 16 | + <ColumnConstraints hgrow="SOMETIMES"/> |
16 | 17 | </columnConstraints> |
17 | 18 | <rowConstraints> |
18 | | - <RowConstraints vgrow="SOMETIMES" /> |
19 | | - <RowConstraints vgrow="SOMETIMES" /> |
20 | | - <RowConstraints vgrow="SOMETIMES" /> |
21 | | - <RowConstraints vgrow="SOMETIMES" /> |
22 | | - <RowConstraints vgrow="SOMETIMES" /> |
23 | | - <RowConstraints vgrow="SOMETIMES" /> |
24 | | - <RowConstraints vgrow="SOMETIMES" /> |
25 | | - <RowConstraints vgrow="SOMETIMES" /> |
26 | | - <RowConstraints vgrow="SOMETIMES" /> |
| 19 | + <RowConstraints vgrow="SOMETIMES"/> |
| 20 | + <RowConstraints vgrow="SOMETIMES"/> |
| 21 | + <RowConstraints vgrow="SOMETIMES"/> |
| 22 | + <RowConstraints vgrow="SOMETIMES"/> |
| 23 | + <RowConstraints vgrow="SOMETIMES"/> |
| 24 | + <RowConstraints vgrow="SOMETIMES"/> |
| 25 | + <RowConstraints vgrow="SOMETIMES"/> |
| 26 | + <RowConstraints vgrow="SOMETIMES"/> |
| 27 | + <RowConstraints vgrow="SOMETIMES"/> |
27 | 28 | </rowConstraints> |
28 | | - <children> |
29 | | - <Label text="Color" GridPane.rowIndex="1" /> |
30 | | - <ColorPicker fx:id="pendingFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="2" /> |
31 | | - <ColorPicker fx:id="pendingBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="2" /> |
32 | | - <ColorPicker fx:id="dialogFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="3" /> |
33 | | - <ColorPicker fx:id="dialogBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="3" /> |
34 | | - <ColorPicker fx:id="highlightFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="4" /> |
35 | | - <ColorPicker fx:id="highlightBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="4" /> |
36 | | - <ColorPicker fx:id="buttonFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="5" /> |
37 | | - <ColorPicker fx:id="errorFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="8" /> |
38 | | - <ColorPicker fx:id="buttonBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="5" /> |
39 | | - <ColorPicker fx:id="errorBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="8" /> |
40 | | - <Label text="Foreground" GridPane.columnIndex="1" GridPane.rowIndex="1" /> |
41 | | - <Label text="Background" GridPane.columnIndex="2" GridPane.rowIndex="1" /> |
42 | | - <ColorPicker fx:id="textFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="6" /> |
43 | | - <ColorPicker fx:id="textBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="6" /> |
44 | | - <ColorPicker fx:id="updateFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="7" /> |
45 | | - <ColorPicker fx:id="updateBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="7" /> |
46 | | - <Label text="Color Set Name" /> |
47 | | - <ComboBox fx:id="colorSetCombo" prefHeight="26.0" prefWidth="394.0" GridPane.columnIndex="1" GridPane.columnSpan="2" /> |
48 | | - <CheckBox fx:id="pendingCheck" mnemonicParsing="false" text="Pending" GridPane.rowIndex="2" /> |
49 | | - <CheckBox fx:id="dialogCheck" mnemonicParsing="false" text="Dialog" GridPane.rowIndex="3" /> |
50 | | - <CheckBox fx:id="highlightCheck" mnemonicParsing="false" text="Highlight" GridPane.rowIndex="4" /> |
51 | | - <CheckBox fx:id="buttonCheck" mnemonicParsing="false" text="Button" GridPane.rowIndex="5" /> |
52 | | - <CheckBox fx:id="textCheck" mnemonicParsing="false" text="Text" GridPane.rowIndex="6" /> |
53 | | - <CheckBox fx:id="updateCheck" mnemonicParsing="false" text="Update" GridPane.rowIndex="7" /> |
54 | | - <CheckBox fx:id="errorCheck" mnemonicParsing="false" text="Error" GridPane.rowIndex="8" /> |
55 | | - </children> |
| 29 | + <Label text="Color" GridPane.rowIndex="1"/> |
| 30 | + <ColorPicker fx:id="pendingFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="2"/> |
| 31 | + <ColorPicker fx:id="pendingBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="2"/> |
| 32 | + <ColorPicker fx:id="dialogFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="3"/> |
| 33 | + <ColorPicker fx:id="dialogBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="3"/> |
| 34 | + <ColorPicker fx:id="highlightFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="4"/> |
| 35 | + <ColorPicker fx:id="highlightBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="4"/> |
| 36 | + <ColorPicker fx:id="buttonFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="5"/> |
| 37 | + <ColorPicker fx:id="errorFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="8"/> |
| 38 | + <ColorPicker fx:id="buttonBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="5"/> |
| 39 | + <ColorPicker fx:id="errorBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="8"/> |
| 40 | + <Label text="Foreground" GridPane.columnIndex="1" GridPane.rowIndex="1"/> |
| 41 | + <Label text="Background" GridPane.columnIndex="2" GridPane.rowIndex="1"/> |
| 42 | + <ColorPicker fx:id="textFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="6"/> |
| 43 | + <ColorPicker fx:id="textBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="6"/> |
| 44 | + <ColorPicker fx:id="updateFgEditor" GridPane.columnIndex="1" GridPane.rowIndex="7"/> |
| 45 | + <ColorPicker fx:id="updateBgEditor" GridPane.columnIndex="2" GridPane.rowIndex="7"/> |
| 46 | + <Label text="Color Set Name"/> |
| 47 | + <ComboBox fx:id="colorSetCombo" prefHeight="26.0" prefWidth="394.0" GridPane.columnIndex="1" |
| 48 | + GridPane.columnSpan="2"/> |
| 49 | + <CheckBox fx:id="pendingCheck" mnemonicParsing="false" text="Pending" GridPane.rowIndex="2"/> |
| 50 | + <CheckBox fx:id="dialogCheck" mnemonicParsing="false" text="Dialog" GridPane.rowIndex="3"/> |
| 51 | + <CheckBox fx:id="highlightCheck" mnemonicParsing="false" text="Highlight" GridPane.rowIndex="4"/> |
| 52 | + <CheckBox fx:id="buttonCheck" mnemonicParsing="false" text="Button" GridPane.rowIndex="5"/> |
| 53 | + <CheckBox fx:id="textCheck" mnemonicParsing="false" text="Text" GridPane.rowIndex="6"/> |
| 54 | + <CheckBox fx:id="updateCheck" mnemonicParsing="false" text="Update" GridPane.rowIndex="7"/> |
| 55 | + <CheckBox fx:id="errorCheck" mnemonicParsing="false" text="Error" GridPane.rowIndex="8"/> |
56 | 56 | </GridPane> |
57 | 57 | </center> |
58 | 58 | <bottom> |
59 | 59 | <ButtonBar prefHeight="40.0" prefWidth="200.0" BorderPane.alignment="CENTER"> |
60 | 60 | <buttons> |
61 | | - <Button mnemonicParsing="false" onAction="#onResetToDark" text="Dark Defaults" /> |
62 | | - <Button mnemonicParsing="false" onAction="#onResetToLight" text="Light Defaults" /> |
63 | | - <Button fx:id="addButton" mnemonicParsing="false" text="Add" onAction="#onAddNew" /> |
64 | | - <Button fx:id="removeButton" mnemonicParsing="false" onAction="#onRemoveOverride" text="Remove" /> |
65 | | - <Button mnemonicParsing="false" onAction="#onSaveChanges" text="Save" /> |
| 61 | + <Button mnemonicParsing="false" onAction="#onResetScheme" text="Reset Colors"/> |
| 62 | + <Button fx:id="addButton" mnemonicParsing="false" text="Add" onAction="#onAddNew"/> |
| 63 | + <Button fx:id="removeButton" mnemonicParsing="false" onAction="#onRemoveOverride" text="Remove"/> |
| 64 | + <Button mnemonicParsing="false" onAction="#onSaveChanges" text="Save"/> |
66 | 65 | </buttons> |
67 | 66 | </ButtonBar> |
68 | 67 | </bottom> |
|
0 commit comments