|
13 | 13 | <?import javafx.scene.layout.ColumnConstraints?>
|
14 | 14 | <?import javafx.scene.layout.GridPane?>
|
15 | 15 | <?import javafx.scene.layout.RowConstraints?>
|
16 |
| -<DialogPane minHeight="-Infinity" minWidth="-Infinity" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.shared.SharedDatabaseLoginDialogView"> |
17 |
| - <content> |
18 |
| - <BorderPane> |
19 |
| - <center> |
20 |
| - <BorderPane BorderPane.alignment="TOP_LEFT"> |
21 |
| - <center> |
22 |
| - <GridPane BorderPane.alignment="CENTER"> |
| 16 | +<DialogPane minHeight="-Infinity" minWidth="-Infinity" xmlns="http://javafx.com/javafx/8.0.141" |
| 17 | + xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.shared.SharedDatabaseLoginDialogView"> |
| 18 | + <content> |
| 19 | + <BorderPane> |
| 20 | + <center> |
| 21 | + <BorderPane BorderPane.alignment="TOP_LEFT"> |
| 22 | + <center> |
| 23 | + <GridPane BorderPane.alignment="CENTER"> |
| 24 | + <columnConstraints> |
| 25 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="120.0"/> |
| 26 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> |
| 27 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> |
| 28 | + </columnConstraints> |
| 29 | + <rowConstraints> |
| 30 | + <RowConstraints minHeight="10.0" prefHeight="30.0"/> |
| 31 | + <RowConstraints minHeight="10.0" prefHeight="30.0"/> |
| 32 | + <RowConstraints minHeight="10.0" prefHeight="30.0"/> |
| 33 | + <RowConstraints minHeight="10.0" prefHeight="30.0"/> |
| 34 | + <RowConstraints minHeight="10.0" prefHeight="30.0"/> |
| 35 | + <RowConstraints minHeight="10.0" prefHeight="30.0"/> |
| 36 | + <RowConstraints minHeight="10.0" prefHeight="30.0"/> |
| 37 | + <RowConstraints minHeight="10.0" prefHeight="30.0"/> |
| 38 | + <RowConstraints/> |
| 39 | + </rowConstraints> |
| 40 | + <children> |
| 41 | + <Label text="%Database Type:"/> |
| 42 | + <ComboBox fx:id="databaseType" prefHeight="25.0" prefWidth="606.0" |
| 43 | + GridPane.columnIndex="1" GridPane.columnSpan="2"/> |
| 44 | + <Label text="%Host/Port:" GridPane.rowIndex="1"/> |
| 45 | + <TextField fx:id="host" GridPane.columnIndex="1" GridPane.rowIndex="1"/> |
| 46 | + <TextField fx:id="port" prefHeight="25.0" prefWidth="66.0" GridPane.columnIndex="2" |
| 47 | + GridPane.rowIndex="1"/> |
| 48 | + <Label text="%Database:" GridPane.rowIndex="2"/> |
| 49 | + <TextField fx:id="database" GridPane.columnIndex="1" GridPane.columnSpan="2" |
| 50 | + GridPane.rowIndex="2"/> |
| 51 | + <Label text="%User:" GridPane.rowIndex="3"/> |
| 52 | + <TextField fx:id="user" GridPane.columnIndex="1" GridPane.columnSpan="2" |
| 53 | + GridPane.rowIndex="3"/> |
| 54 | + <Label text="%Password:" GridPane.rowIndex="4"/> |
| 55 | + <PasswordField fx:id="password" GridPane.columnIndex="1" GridPane.columnSpan="2" |
| 56 | + GridPane.rowIndex="4"/> |
| 57 | + <CheckBox fx:id="useSSL" mnemonicParsing="false" text="%Use SSL" GridPane.rowIndex="5"/> |
| 58 | + <CheckBox fx:id="rememberPassword" mnemonicParsing="false" text="%Remember Password" |
| 59 | + GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="5"/> |
| 60 | + <Label text="%Keystore:" GridPane.rowIndex="6"/> |
| 61 | + <TextField fx:id="fileKeystore" GridPane.columnIndex="1" GridPane.rowIndex="6"/> |
| 62 | + <Button fx:id="browseKeystore" mnemonicParsing="false" |
| 63 | + onAction="#showOpenKeystoreFileDialog" text="%Browse" GridPane.columnIndex="2" |
| 64 | + GridPane.rowIndex="6"/> |
| 65 | + <Label text="%Keystore password:" GridPane.rowIndex="7"/> |
| 66 | + <PasswordField fx:id="passwordKeystore" GridPane.columnIndex="1" GridPane.rowIndex="7"/> |
| 67 | + <Label text="%Server Timezone:" GridPane.rowIndex="8"/> |
| 68 | + <TextField fx:id="serverTimezone" GridPane.columnIndex="1" GridPane.columnSpan="2" |
| 69 | + GridPane.rowIndex="8"/> |
| 70 | + <GridPane> |
| 71 | + <columnConstraints> |
| 72 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> |
| 73 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> |
| 74 | + </columnConstraints> |
| 75 | + <rowConstraints> |
| 76 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/> |
| 77 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/> |
| 78 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/> |
| 79 | + </rowConstraints> |
| 80 | + </GridPane> |
| 81 | + </children> |
| 82 | + </GridPane> |
| 83 | + </center> |
| 84 | + </BorderPane> |
| 85 | + </center> |
| 86 | + <bottom> |
| 87 | + <GridPane BorderPane.alignment="CENTER"> |
23 | 88 | <columnConstraints>
|
24 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="20.0" prefWidth="120.0" /> |
25 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
26 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
| 89 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> |
| 90 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0"/> |
27 | 91 | </columnConstraints>
|
28 | 92 | <rowConstraints>
|
29 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" /> |
30 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" /> |
31 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" /> |
32 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" /> |
33 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" /> |
34 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" /> |
35 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" /> |
36 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" /> |
| 93 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/> |
| 94 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES"/> |
37 | 95 | </rowConstraints>
|
38 |
| - <children> |
39 |
| - <Label text="%Database Type:" /> |
40 |
| - <ComboBox fx:id="databaseType" prefHeight="25.0" prefWidth="606.0" GridPane.columnIndex="1" GridPane.columnSpan="2" /> |
41 |
| - <Label text="%Host/Port:" GridPane.rowIndex="1" /> |
42 |
| - <TextField fx:id="host" GridPane.columnIndex="1" GridPane.rowIndex="1" /> |
43 |
| - <TextField fx:id="database" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="2" /> |
44 |
| - <TextField fx:id="port" prefHeight="25.0" prefWidth="66.0" GridPane.columnIndex="2" GridPane.rowIndex="1" /> |
45 |
| - <Label text="%Database:" GridPane.rowIndex="2" /> |
46 |
| - <Label text="%User:" GridPane.rowIndex="3" /> |
47 |
| - <TextField fx:id="user" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="3" /> |
48 |
| - <Label text="%Password:" GridPane.rowIndex="4" /> |
49 |
| - <PasswordField fx:id="password" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="4" /> |
50 |
| - <CheckBox fx:id="rememberPassword" mnemonicParsing="false" text="%Remember Password" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="5" /> |
51 |
| - <CheckBox fx:id="useSSL" mnemonicParsing="false" text="%Use SSL" GridPane.rowIndex="5" /> |
52 |
| - <TextField fx:id="fileKeystore" GridPane.columnIndex="1" GridPane.rowIndex="6" /> |
53 |
| - <Button fx:id="browseKeystore" mnemonicParsing="false" onAction="#showOpenKeystoreFileDialog" text="%Browse" GridPane.columnIndex="2" GridPane.rowIndex="6" /> |
54 |
| - <Label text="%Server Timezone:" GridPane.rowIndex="8"/> |
55 |
| - <TextField fx:id="serverTimezone" GridPane.columnIndex="1" GridPane.columnSpan="2" GridPane.rowIndex="8" /> |
56 |
| - <GridPane> |
57 |
| - <columnConstraints> |
58 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
59 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
60 |
| - </columnConstraints> |
61 |
| - <rowConstraints> |
62 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
63 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
64 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
65 |
| - </rowConstraints> |
66 |
| - </GridPane> |
67 |
| - <PasswordField fx:id="passwordKeystore" GridPane.columnIndex="1" GridPane.rowIndex="7" /> |
68 |
| - <Label text="%Keystore:" GridPane.rowIndex="6" /> |
69 |
| - <Label text="%Keystore password:" GridPane.rowIndex="7" /> |
70 |
| - </children> |
71 |
| - </GridPane> |
72 |
| - </center> |
73 |
| - </BorderPane> |
74 |
| - </center> |
75 |
| - <bottom> |
76 |
| - <GridPane BorderPane.alignment="CENTER"> |
77 |
| - <columnConstraints> |
78 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
79 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" /> |
80 |
| - </columnConstraints> |
81 |
| - <rowConstraints> |
82 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
83 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
84 |
| - </rowConstraints> |
85 |
| - <children> |
86 |
| - <CheckBox fx:id="autosave" mnemonicParsing="false" text="%Automatically save the library to" GridPane.columnSpan="2" /> |
87 |
| - <TextField fx:id="folder" GridPane.rowIndex="1" /> |
88 |
| - <Button fx:id="browseButton" mnemonicParsing="false" onAction="#showSaveDbToFileDialog" text="%Browse" GridPane.columnIndex="1" GridPane.rowIndex="1" /> |
89 |
| - <Group /> |
90 |
| - </children> |
91 |
| - </GridPane> |
92 |
| - </bottom> |
93 |
| - </BorderPane> |
94 |
| - </content> |
95 |
| - <header> |
96 |
| - </header> |
97 |
| - <buttonTypes> |
98 |
| - <ButtonType fx:constant="CLOSE" /> |
99 |
| - <ButtonType fx:id="connectButton" buttonData="OK_DONE" text="%Connect" /> |
100 |
| - </buttonTypes> |
| 96 | + <children> |
| 97 | + <CheckBox fx:id="autosave" mnemonicParsing="false" text="%Automatically save the library to" |
| 98 | + GridPane.columnSpan="2"/> |
| 99 | + <TextField fx:id="folder" GridPane.rowIndex="1"/> |
| 100 | + <Button fx:id="browseButton" mnemonicParsing="false" onAction="#showSaveDbToFileDialog" |
| 101 | + text="%Browse" GridPane.columnIndex="1" GridPane.rowIndex="1"/> |
| 102 | + <Group/> |
| 103 | + </children> |
| 104 | + </GridPane> |
| 105 | + </bottom> |
| 106 | + </BorderPane> |
| 107 | + </content> |
| 108 | + <header> |
| 109 | + </header> |
| 110 | + <buttonTypes> |
| 111 | + <ButtonType fx:constant="CLOSE"/> |
| 112 | + <ButtonType fx:id="connectButton" buttonData="OK_DONE" text="%Connect"/> |
| 113 | + </buttonTypes> |
101 | 114 | </DialogPane>
|
0 commit comments