|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
|
3 | | -<?import javafx.geometry.Insets?> |
4 | 3 | <?import javafx.scene.control.Button?> |
5 | 4 | <?import javafx.scene.control.CheckBox?> |
6 | 5 | <?import javafx.scene.control.ComboBox?> |
7 | 6 | <?import javafx.scene.control.Label?> |
8 | | -<?import javafx.scene.layout.AnchorPane?> |
9 | 7 | <?import javafx.scene.layout.ColumnConstraints?> |
10 | 8 | <?import javafx.scene.layout.GridPane?> |
11 | 9 | <?import javafx.scene.layout.HBox?> |
12 | 10 | <?import javafx.scene.layout.RowConstraints?> |
13 | | -<fx:root prefHeight="400.0" prefWidth="600.0" type="AnchorPane" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.edit.automaticfiededitor.copyormovecontent.CopyOrMoveFieldContentTabView"> |
14 | | - <children> |
15 | | - <GridPane hgap="8.0" layoutX="16.0" layoutY="246.0" minHeight="160.0" prefHeight="230.0" prefWidth="568.0" vgap="8.0" AnchorPane.leftAnchor="16.0" AnchorPane.rightAnchor="16.0" AnchorPane.topAnchor="8.0"> |
16 | | - <columnConstraints> |
17 | | - <ColumnConstraints hgrow="SOMETIMES" maxWidth="379.20001220703125" minWidth="40.0" prefWidth="65.00001220703125" /> |
18 | | - <ColumnConstraints hgrow="SOMETIMES" maxWidth="726.3999938964844" minWidth="10.0" prefWidth="324.1999877929687" /> |
19 | | - <ColumnConstraints hgrow="SOMETIMES" maxWidth="726.3999938964844" minWidth="10.0" prefWidth="206.5999877929687" /> |
20 | | - </columnConstraints> |
21 | | - <rowConstraints> |
22 | | - <RowConstraints maxHeight="35.200015258789065" minHeight="10.0" prefHeight="20.800006103515624" vgrow="SOMETIMES" /> |
23 | | - <RowConstraints maxHeight="33.000008010864256" minHeight="8.999984741210938" prefHeight="23.39999389648438" vgrow="SOMETIMES" /> |
24 | | - <RowConstraints maxHeight="33.000008010864256" minHeight="10.0" prefHeight="26.60001220703125" vgrow="SOMETIMES" /> |
25 | | - <RowConstraints maxHeight="35.99998168945312" minHeight="10.0" prefHeight="35.99998168945312" vgrow="SOMETIMES" /> |
26 | | - <RowConstraints maxHeight="25.600012207031256" minHeight="10.0" prefHeight="23.20001831054688" vgrow="SOMETIMES" /> |
27 | | - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
28 | | - </rowConstraints> |
29 | | - <children> |
30 | | - <Label prefHeight="19.0" prefWidth="48.0" text="%From" GridPane.rowIndex="2" /> |
31 | | - <Label text="%To" GridPane.rowIndex="3" /> |
32 | | - <ComboBox fx:id="fromFieldComboBox" editable="true" minWidth="-Infinity" prefHeight="32.0" prefWidth="150.0" GridPane.columnIndex="1" GridPane.hgrow="NEVER" GridPane.rowIndex="2" GridPane.vgrow="NEVER" /> |
33 | | - <ComboBox fx:id="toFieldComboBox" editable="true" minWidth="-Infinity" prefHeight="32.0" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="3" /> |
34 | | - <CheckBox fx:id="overwriteFieldContentCheckBox" |
35 | | - mnemonicParsing="false" prefHeight="19.0" prefWidth="210.0" text="%Overwrite field content" GridPane.columnSpan="2147483647" GridPane.rowIndex="4" /> |
36 | | - <HBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" spacing="8.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="5"> |
37 | | - <children> |
38 | | - <Button fx:id="copyContentButton" |
39 | | - mnemonicParsing="false" onAction="#copyContent" text="%Copy content" /> |
40 | | - <Button fx:id="moveContentButton" |
41 | | - mnemonicParsing="false" onAction="#moveContent" text="%Move content" /> |
42 | | - <Button fx:id="swapContentButton" |
43 | | - mnemonicParsing="false" onAction="#swapContent" text="%Swap content" /> |
44 | | - </children> |
45 | | - </HBox> |
46 | | - <HBox alignment="CENTER_LEFT" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" GridPane.columnSpan="3" GridPane.rowSpan="2"> |
47 | | - <children> |
48 | | - <Label alignment="BOTTOM_LEFT" minHeight="-Infinity" minWidth="-Infinity" styleClass="sectionHeader" text="%Copy or move the content of one field to another"> |
49 | | - <HBox.margin> |
50 | | - <Insets bottom="10.0" /> |
51 | | - </HBox.margin> |
52 | | - </Label> |
53 | | - </children> |
54 | | - <GridPane.margin> |
55 | | - <Insets /> |
56 | | - </GridPane.margin> |
57 | | - </HBox> |
58 | | - </children> |
59 | | - </GridPane> |
60 | | - </children> |
| 11 | +<?import javafx.scene.layout.VBox?> |
| 12 | + |
| 13 | +<fx:root type="VBox" styleClass="edit-field-content-pane" xmlns="http://javafx.com/javafx/17" |
| 14 | + xmlns:fx="http://javafx.com/fxml/1" |
| 15 | + fx:controller="org.jabref.gui.edit.automaticfiededitor.copyormovecontent.CopyOrMoveFieldContentTabView"> |
| 16 | + <Label styleClass="sectionHeader" text="%Copy or move the content of one field to another"/> |
| 17 | + <GridPane styleClass="grid-pane"> |
| 18 | + <columnConstraints> |
| 19 | + <ColumnConstraints hgrow="NEVER"/> |
| 20 | + <ColumnConstraints hgrow="ALWAYS"/> |
| 21 | + </columnConstraints> |
| 22 | + <rowConstraints> |
| 23 | + <RowConstraints/> |
| 24 | + <RowConstraints/> |
| 25 | + </rowConstraints> |
| 26 | + <Label text="%From" GridPane.columnIndex="0" GridPane.rowIndex="0"/> |
| 27 | + <ComboBox fx:id="fromFieldComboBox" editable="true" maxWidth="Infinity" GridPane.columnIndex="1" |
| 28 | + GridPane.rowIndex="0"/> |
| 29 | + <Label text="%To" GridPane.columnIndex="0" GridPane.rowIndex="1"/> |
| 30 | + <ComboBox fx:id="toFieldComboBox" editable="true" maxWidth="Infinity" GridPane.columnIndex="1" |
| 31 | + GridPane.rowIndex="1"/> |
| 32 | + </GridPane> |
| 33 | + <CheckBox fx:id="overwriteFieldContentCheckBox" mnemonicParsing="false" text="%Overwrite field content"/> |
| 34 | + <HBox styleClass="actions"> |
| 35 | + <Button fx:id="copyContentButton" mnemonicParsing="false" onAction="#copyContent" text="%Copy content"/> |
| 36 | + <Button fx:id="moveContentButton" mnemonicParsing="false" onAction="#moveContent" text="%Move content"/> |
| 37 | + <Button fx:id="swapContentButton" mnemonicParsing="false" onAction="#swapContent" text="%Swap content"/> |
| 38 | + </HBox> |
61 | 39 | </fx:root> |
0 commit comments