|
8 | 8 | <?import javafx.scene.layout.ColumnConstraints?>
|
9 | 9 | <?import javafx.scene.layout.GridPane?>
|
10 | 10 | <?import javafx.scene.layout.RowConstraints?>
|
11 |
| -<fx:root prefHeight="200.0" prefWidth="600.0" type="javafx.scene.layout.GridPane" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.SaveOrderConfigDisplayView"> |
12 |
| - <columnConstraints> |
13 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="-Infinity" prefWidth="100.0" /> |
14 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
15 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
16 |
| - </columnConstraints> |
17 |
| - <rowConstraints> |
18 |
| - <RowConstraints prefHeight="30.0" /> |
19 |
| - <RowConstraints prefHeight="30.0" /> |
20 |
| - <RowConstraints prefHeight="30.0" /> |
21 |
| - <RowConstraints prefHeight="30.0" /> |
22 |
| - <RowConstraints prefHeight="30.0" /> |
23 |
| - <RowConstraints prefHeight="30.0" /> |
24 |
| - </rowConstraints> |
| 11 | +<?import javafx.scene.layout.VBox?> |
| 12 | + |
| 13 | +<fx:root prefWidth="650.0" spacing="10.0" type="VBox" |
| 14 | + xmlns="http://javafx.com/javafx/8.0.212" xmlns:fx="http://javafx.com/fxml/1" |
| 15 | + fx:controller="org.jabref.gui.SaveOrderConfigDisplayView"> |
25 | 16 | <fx:define>
|
26 |
| - <ToggleGroup fx:id="saveOrderToggleGroup" /> |
| 17 | + <ToggleGroup fx:id="saveOrderToggleGroup"/> |
27 | 18 | </fx:define>
|
28 |
| - <children> |
29 |
| - <ComboBox fx:id="savePriSort" editable="true" GridPane.columnIndex="1" GridPane.rowIndex="3" /> |
30 |
| - <ComboBox fx:id="saveSecSort" editable="true" GridPane.columnIndex="1" GridPane.rowIndex="4" /> |
31 |
| - <ComboBox fx:id="saveTerSort" editable="true" GridPane.columnIndex="1" GridPane.rowIndex="5" /> |
32 |
| - <RadioButton fx:id="exportInSpecifiedOrder" mnemonicParsing="false" prefHeight="5.0" prefWidth="206.0" text="%Export entries ordered as specified" toggleGroup="$saveOrderToggleGroup" GridPane.columnSpan="3" GridPane.rowIndex="2" /> |
33 |
| - <RadioButton fx:id="exportInTableOrder" mnemonicParsing="false" text="%Export in current table sort order" toggleGroup="$saveOrderToggleGroup" GridPane.columnSpan="3" GridPane.rowIndex="1" /> |
34 |
| - <RadioButton fx:id="exportInOriginalOrder" mnemonicParsing="false" text="%Export entries in their original order" toggleGroup="$saveOrderToggleGroup" GridPane.columnSpan="3" /> |
35 |
| - <CheckBox fx:id="savePriDesc" disable="${!exportInSpecifiedOrder.selected}" mnemonicParsing="false" text="%Descending" GridPane.columnIndex="2" GridPane.rowIndex="3" /> |
36 |
| - <CheckBox fx:id="saveSecDesc" disable="${!exportInSpecifiedOrder.selected}" mnemonicParsing="false" text="%Descending" GridPane.columnIndex="2" GridPane.rowIndex="4" /> |
37 |
| - <CheckBox fx:id="saveTerDesc" disable="${!exportInSpecifiedOrder.selected}" mnemonicParsing="false" text="%Descending" GridPane.columnIndex="2" GridPane.rowIndex="5" /> |
38 |
| - <Label disabled="${!exportInSpecifiedOrder.selected}" text="%Primary sort criterion" GridPane.rowIndex="3" /> |
39 |
| - <Label disabled="${!exportInSpecifiedOrder.selected}" text="%Secondary sort criterion" GridPane.rowIndex="4" /> |
40 |
| - <Label disabled="${!exportInSpecifiedOrder.selected}" text="%Tertiary sort criterion" GridPane.rowIndex="5" /> |
41 |
| - </children> |
| 19 | + |
| 20 | + <RadioButton fx:id="exportInOriginalOrder" text="%Export entries in their original order" |
| 21 | + toggleGroup="$saveOrderToggleGroup"/> |
| 22 | + <RadioButton fx:id="exportInTableOrder" text="%Export in current table sort order" |
| 23 | + toggleGroup="$saveOrderToggleGroup"/> |
| 24 | + <RadioButton fx:id="exportInSpecifiedOrder" |
| 25 | + text="%Export entries ordered as specified" toggleGroup="$saveOrderToggleGroup"/> |
| 26 | + |
| 27 | + <GridPane alignment="CENTER_LEFT" hgap="10.0"> |
| 28 | + <columnConstraints> |
| 29 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="-Infinity" prefWidth="100.0"/> |
| 30 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> |
| 31 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> |
| 32 | + </columnConstraints> |
| 33 | + <rowConstraints> |
| 34 | + <RowConstraints prefHeight="30.0"/> |
| 35 | + <RowConstraints prefHeight="30.0"/> |
| 36 | + <RowConstraints prefHeight="30.0"/> |
| 37 | + <RowConstraints prefHeight="30.0"/> |
| 38 | + <RowConstraints prefHeight="30.0"/> |
| 39 | + <RowConstraints prefHeight="30.0"/> |
| 40 | + </rowConstraints> |
| 41 | + |
| 42 | + <Label disable="${!exportInSpecifiedOrder.selected}" text="%Primary sort criterion" GridPane.rowIndex="0"/> |
| 43 | + <Label disable="${!exportInSpecifiedOrder.selected}" text="%Secondary sort criterion" GridPane.rowIndex="1"/> |
| 44 | + <Label disable="${!exportInSpecifiedOrder.selected}" text="%Tertiary sort criterion" GridPane.rowIndex="2"/> |
| 45 | + |
| 46 | + <ComboBox fx:id="savePriSort" editable="true" GridPane.columnIndex="1" GridPane.rowIndex="0" |
| 47 | + disable="${!exportInSpecifiedOrder.selected}"/> |
| 48 | + <ComboBox fx:id="saveSecSort" editable="true" GridPane.columnIndex="1" GridPane.rowIndex="1" |
| 49 | + disable="${!exportInSpecifiedOrder.selected}"/> |
| 50 | + <ComboBox fx:id="saveTerSort" editable="true" GridPane.columnIndex="1" GridPane.rowIndex="2" |
| 51 | + disable="${!exportInSpecifiedOrder.selected}"/> |
| 52 | + |
| 53 | + <CheckBox fx:id="savePriDesc" disable="${!exportInSpecifiedOrder.selected}" mnemonicParsing="false" |
| 54 | + text="%Descending" GridPane.columnIndex="2" GridPane.rowIndex="0"/> |
| 55 | + <CheckBox fx:id="saveSecDesc" disable="${!exportInSpecifiedOrder.selected}" mnemonicParsing="false" |
| 56 | + text="%Descending" GridPane.columnIndex="2" GridPane.rowIndex="1"/> |
| 57 | + <CheckBox fx:id="saveTerDesc" disable="${!exportInSpecifiedOrder.selected}" mnemonicParsing="false" |
| 58 | + text="%Descending" GridPane.columnIndex="2" GridPane.rowIndex="2"/> |
| 59 | + </GridPane> |
42 | 60 | </fx:root>
|
0 commit comments