Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
- We fixed an issue where "Copy to" was enabled even if no other library was opened. [#13280](https://github.com/JabRef/jabref/pull/13280)
- We fixed an issue where the groups were still displayed after closing all libraries. [#13382](https://github.com/JabRef/jabref/issues/13382)
- Enhanced field selection logic in the Merge Entries dialog when fetching from DOI to prefer valid years and entry types. [#12549](https://github.com/JabRef/jabref/issues/12549)
- We improved consistency in the Add Buttons
Copy link
Member

@Siedlerchr Siedlerchr Aug 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just add the PR as a number/link here as well


### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
import jakarta.inject.Inject;

public class SaveOrderConfigPanel extends VBox {

@FXML private RadioButton exportInSpecifiedOrder;
@FXML private RadioButton exportInTableOrder;
@FXML private RadioButton exportInOriginalOrder;
Expand Down
4 changes: 4 additions & 0 deletions jabgui/src/main/resources/org/jabref/gui/Base.css
Original file line number Diff line number Diff line change
Expand Up @@ -2669,6 +2669,10 @@ journalInfo .grid-cell-b {
-fx-border-color: transparent;
}

.add-certificate {
-fx-pref-width: 17em;
-fx-min-width: 17em;
}

/* Quick Settings */
.quick-settings-container,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<?import javafx.scene.layout.VBox?>
<?import org.jabref.gui.icon.JabRefIconView?>
<fx:root spacing="10.0" type="VBox"
xmlns="http://javafx.com/javafx/10.0.2-internal" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="org.jabref.gui.commonfxcontrols.FieldFormatterCleanupsPanel">
xmlns="http://javafx.com/javafx/10.0.2-internal" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="org.jabref.gui.commonfxcontrols.FieldFormatterCleanupsPanel">
<CheckBox fx:id="cleanupsEnabled" text="%Enable field formatters"/>
<HBox spacing="4.0">
<VBox spacing="4.0" HBox.hgrow="ALWAYS">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.HBox?>
<?import org.jabref.gui.icon.JabRefIconView?>
<fx:root prefWidth="650.0" spacing="10.0" type="VBox"
xmlns="http://javafx.com/javafx/8.0.212" xmlns:fx="http://javafx.com/fxml/1"
Expand All @@ -23,7 +24,7 @@
<RadioButton fx:id="exportInSpecifiedOrder"
text="%Use specified order" toggleGroup="$saveOrderToggleGroup"/>

<GridPane fx:id="sortCriterionList" hgap="10.0" vgap="4.0" maxWidth="450.0"
<GridPane fx:id="sortCriterionList" hgap="10.0" vgap="4.0"
disable="${!exportInSpecifiedOrder.selected}">
<columnConstraints>
<ColumnConstraints hgrow="NEVER" minWidth="40.0" maxWidth="40.0"/>
Expand All @@ -35,13 +36,14 @@
<Insets left="30.0"/>
</padding>
</GridPane>
<Button fx:id="addButton" onAction="#addCriterion" styleClass="icon-button" disable="${!exportInSpecifiedOrder.selected}"
maxWidth="450.0" prefWidth="450.0">
<graphic>
<JabRefIconView glyph="ADD_NOBOX"/>
</graphic>
<tooltip>
<Tooltip text="Add"/>
</tooltip>
</Button>
<HBox alignment="BASELINE_RIGHT" disable="${!exportInSpecifiedOrder.selected}">
<Button fx:id="addButton" onAction="#addCriterion" text="%Add">
<graphic>
<JabRefIconView glyph="ADD_NOBOX"/>
</graphic>
<tooltip>
<Tooltip text="Add"/>
</tooltip>
</Button>
</HBox>
</fx:root>
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,38 @@
<?import javafx.scene.layout.VBox?>
<?import org.jabref.gui.icon.JabRefIconView?>
<fx:root spacing="10.0" type="VBox"
xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml"
xmlns="http://javafx.com/ja\vafx" xmlns:fx="http://javafx.com/fxml"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

accident?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed :)

fx:controller="org.jabref.gui.libraryproperties.constants.ConstantsPropertiesView">
<Label styleClass="sectionHeader" text="%String constants"/>
<HBox spacing="4.0" VBox.vgrow="ALWAYS">
<VBox spacing="4.0" HBox.hgrow="ALWAYS">
<TableView fx:id="stringsList" VBox.vgrow="ALWAYS">
<columns>
<TableColumn fx:id="labelColumn" minWidth="75.0" text="%Label"/>
<TableColumn fx:id="contentColumn" minWidth="75.0" text="%Content"/>
<TableColumn fx:id="actionsColumn" maxWidth="30.0" minWidth="30.0" prefWidth="30.0"
editable="false" resizable="false" reorderable="false"/>
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
</columnResizePolicy>
</TableView>
</VBox>
<VBox>
<Button styleClass="icon-button,narrow" onAction="#openHelp">
<graphic>
<JabRefIconView glyph="HELP"/>
</graphic>
<tooltip>
<Tooltip text="%Open Help page"/>
</tooltip>
</Button>
<VBox VBox.vgrow="ALWAYS"/>
<Button styleClass="icon-button,narrow" fx:id="addStringButton" minWidth="-Infinity"
onAction="#addString">
<graphic>
<JabRefIconView glyph="ADD_NOBOX"/>
</graphic>
<tooltip>
<Tooltip text="%Add new String"/>
</tooltip>
</Button>
</VBox>
<HBox alignment="BOTTOM_LEFT" spacing="8.0">
<Label styleClass="sectionHeader" text="%String constants"/>
<Button onAction="#openHelp" styleClass="icon-button,narrow">
<graphic>
<JabRefIconView glyph="HELP"/>
</graphic>
<tooltip>
<Tooltip text="%Open Help page"/>
</tooltip>
</Button>
</HBox>
<TableView fx:id="stringsList" VBox.vgrow="ALWAYS">
<columns>
<TableColumn fx:id="labelColumn" minWidth="75.0" text="%Label"/>
<TableColumn fx:id="contentColumn" minWidth="75.0" text="%Content"/>
<TableColumn fx:id="actionsColumn" maxWidth="30.0" minWidth="30.0" prefWidth="30.0"
editable="false" resizable="false" reorderable="false"/>
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY"/>
</columnResizePolicy>
</TableView>
<HBox alignment="BASELINE_RIGHT" spacing="4.0">
<Button fx:id="addStringButton" text="%Add" onAction="#addString">
<graphic>
<JabRefIconView glyph="ADD_NOBOX"/>
</graphic>
<tooltip>
<Tooltip text="%Add new String"/>
</tooltip>
</Button>
</HBox>
</fx:root>
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Region?>
<?import javafx.scene.layout.VBox?>
<?import org.jabref.gui.commonfxcontrols.CitationKeyPatternsPanel?>
<fx:root spacing="10.0" type="VBox"
xmlns="http://javafx.com/javafx" xmlns:fx="http://javafx.com/fxml"
fx:controller="org.jabref.gui.libraryproperties.keypattern.KeyPatternPropertiesView">
<HBox>
<HBox alignment="BOTTOM_LEFT" spacing="8.0">
<Label styleClass="sectionHeader" text="%Key patterns"/>
<Region HBox.hgrow="ALWAYS"/>
<Button fx:id="keyPatternHelp" prefWidth="20.0"/>
<Button fx:id="keyPatternHelp" styleClass="icon-button,narrow" />
</HBox>
<Label text="%( Note: Press return to commit changes in the table! )"/>
<AnchorPane VBox.vgrow="ALWAYS">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.geometry.Insets?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.VBox?>
Expand All @@ -13,8 +14,11 @@
text="%Refuse to save the library before external changes have been reviewed."/>

<Label styleClass="sectionHeader" text="%Save sort order"/>
<SaveOrderConfigPanel fx:id="saveOrderConfigPanel"/>
<SaveOrderConfigPanel fx:id="saveOrderConfigPanel" />

<Label styleClass="sectionHeader" text="%Save actions"/>
<FieldFormatterCleanupsPanel fx:id="fieldFormatterCleanupsPanel"/>
<FieldFormatterCleanupsPanel fx:id="fieldFormatterCleanupsPanel" />
<padding>
<Insets bottom="12.0" />
</padding>
</fx:root>
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@
<Button fx:id="addCertificate"
mnemonicParsing="false"
onAction="#addCertificateFile"
text="%Add certificate"
styleClass="add-certificate"
text="%Browse for certificate..."
GridPane.columnIndex="2"
GridPane.halignment="RIGHT"
GridPane.rowIndex="1"
Expand All @@ -146,7 +147,7 @@
<Insets right="16.0"/>
</GridPane.margin>
<graphic>
<JabRefIconView glyph="OPEN_LIST"/>
<JabRefIconView glyph="ADD_NOBOX"/>
</graphic>
</Button>
</GridPane>
Expand Down
2 changes: 1 addition & 1 deletion jablib/src/main/resources/l10n/JabRef_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2564,7 +2564,7 @@ Symmetric\ word\ by\ word=Symmetric word by word
Verbatim=Verbatim
Word\ by\ word=Word by word

Add\ certificate=Add certificate
Browse\ for\ certificate...=Browse for certificate...
Serial\ number=Serial number
Issuer=Issuer
Valid\ from=Valid from
Expand Down