Skip to content

Commit ca2dc2c

Browse files
committed
Merge remote-tracking branch 'upstream/master' into editStringsjavafx
* upstream/master: Fix overlapping font in id entry type (#4595)
2 parents db5debd + 40d049e commit ca2dc2c

File tree

1 file changed

+35
-45
lines changed

1 file changed

+35
-45
lines changed

src/main/java/org/jabref/gui/EntryType.fxml

+35-45
Original file line numberDiff line numberDiff line change
@@ -7,49 +7,46 @@
77
<?import javafx.scene.control.Label?>
88
<?import javafx.scene.control.TextField?>
99
<?import javafx.scene.control.TitledPane?>
10-
<?import javafx.scene.layout.BorderPane?>
1110
<?import javafx.scene.layout.ColumnConstraints?>
1211
<?import javafx.scene.layout.FlowPane?>
1312
<?import javafx.scene.layout.GridPane?>
1413
<?import javafx.scene.layout.RowConstraints?>
1514
<?import javafx.scene.layout.VBox?>
1615

17-
<DialogPane xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.EntryTypeView">
16+
<DialogPane prefWidth="476.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.EntryTypeView">
17+
<buttonTypes>
18+
<ButtonType fx:constant="CANCEL" />
19+
<ButtonType fx:id="generateButton" buttonData="OK_DONE" text="%Generate" />
20+
</buttonTypes>
1821
<content>
19-
<BorderPane>
20-
<top>
21-
<VBox prefHeight="200.0" prefWidth="400.0" BorderPane.alignment="CENTER">
22-
<children>
23-
<TitledPane fx:id="biblatexTitlePane" animated="false" collapsible="false" text="Biblatex">
24-
<content>
25-
<FlowPane fx:id="biblatexPane" prefHeight="200.0" prefWidth="200.0" />
26-
</content>
27-
</TitledPane>
28-
<TitledPane fx:id="bibTexTitlePane" animated="false" collapsible="false" text="BibTeX">
29-
<content>
30-
<FlowPane fx:id="bibTexPane" prefHeight="200.0" prefWidth="200.0" />
31-
</content>
32-
</TitledPane>
33-
<TitledPane fx:id="ieeeTranTitlePane" animated="false" collapsible="false" text="IEEETran">
34-
<content>
35-
<FlowPane fx:id="ieeetranPane" prefHeight="200.0" prefWidth="200.0" />
36-
</content>
37-
</TitledPane>
38-
<TitledPane fx:id="customTitlePane" animated="false" collapsible="false" text="%Custom">
39-
<content>
40-
<FlowPane fx:id="customPane" prefHeight="200.0" prefWidth="200.0" />
41-
</content>
42-
</TitledPane>
43-
</children>
44-
</VBox>
45-
</top>
46-
<bottom>
47-
<GridPane alignment="CENTER" BorderPane.alignment="CENTER">
22+
<VBox prefHeight="200.0" prefWidth="400.0">
23+
<children>
24+
<TitledPane fx:id="biblatexTitlePane" animated="false" collapsible="false" text="Biblatex">
25+
<content>
26+
<FlowPane fx:id="biblatexPane" prefHeight="200.0" prefWidth="200.0" />
27+
</content>
28+
</TitledPane>
29+
<TitledPane fx:id="bibTexTitlePane" animated="false" collapsible="false" text="BibTeX">
30+
<content>
31+
<FlowPane fx:id="bibTexPane" prefHeight="200.0" prefWidth="200.0" />
32+
</content>
33+
</TitledPane>
34+
<TitledPane fx:id="ieeeTranTitlePane" animated="false" collapsible="false" text="IEEETran">
35+
<content>
36+
<FlowPane fx:id="ieeetranPane" prefHeight="200.0" prefWidth="200.0" />
37+
</content>
38+
</TitledPane>
39+
<TitledPane fx:id="customTitlePane" animated="false" collapsible="false" text="%Custom">
40+
<content>
41+
<FlowPane fx:id="customPane" prefHeight="200.0" prefWidth="200.0" />
42+
</content>
43+
</TitledPane>
44+
<GridPane alignment="CENTER">
4845
<children>
49-
<Label text="%ID type" />
50-
<ComboBox fx:id="idBasedFetchers" prefHeight="30.0" prefWidth="300.0" GridPane.columnIndex="1" onAction="#focusTextField" />
46+
<Label text="%ID type"/>
47+
<ComboBox fx:id="idBasedFetchers" onAction="#focusTextField" prefHeight="30.0" prefWidth="300.0" GridPane.columnIndex="1" />
5148
<Label text="%ID" GridPane.rowIndex="1" />
52-
<TextField fx:id="idTextField" prefHeight="30.0" prefWidth="300.0" GridPane.columnIndex="1" GridPane.rowIndex="1" onAction="#runFetcherWorker"/>
49+
<TextField fx:id="idTextField" onAction="#runFetcherWorker" prefHeight="30.0" prefWidth="300.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
5350
</children>
5451
<columnConstraints>
5552
<ColumnConstraints hgrow="SOMETIMES" maxWidth="122.0" minWidth="10.0" prefWidth="100.0" />
@@ -59,18 +56,11 @@
5956
<Insets bottom="4.0" left="4.0" right="4.0" top="4.0" />
6057
</opaqueInsets>
6158
<rowConstraints>
62-
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
63-
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
59+
<RowConstraints minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
60+
<RowConstraints minHeight="30.0" prefHeight="30.0" vgrow="SOMETIMES" />
6461
</rowConstraints>
65-
<padding>
66-
<Insets bottom="4.0" left="4.0" right="4.0" top="4.0" />
67-
</padding>
6862
</GridPane>
69-
</bottom>
70-
</BorderPane>
63+
</children>
64+
</VBox>
7165
</content>
72-
<buttonTypes>
73-
<ButtonType fx:constant="CANCEL" />
74-
<ButtonType fx:id="generateButton" buttonData="OK_DONE" text="%Generate" />
75-
</buttonTypes>
7666
</DialogPane>

0 commit comments

Comments
 (0)