diff --git a/CHANGELOG.md b/CHANGELOG.md index f1046088013..86217de9f7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve ### Fixed +- We fixed the wrong behavior that font size increase does not increase preferences dialog window font size. [#6039](https://github.com/JabRef/jabref/issues/6039) - We fixed wrong button order (Apply and Cancel) in ManageProtectedTermsDialog. - We greatly improved the performance of the overall application and many operations. [#5071](https://github.com/JabRef/jabref/issues/5071) - We fixed an issue where sort by priority was broken. [#6222](https://github.com/JabRef/jabref/issues/6222) diff --git a/src/main/java/org/jabref/gui/preferences/PreferencesDialogView.java b/src/main/java/org/jabref/gui/preferences/PreferencesDialogView.java index b40a039ded6..0944064bdab 100644 --- a/src/main/java/org/jabref/gui/preferences/PreferencesDialogView.java +++ b/src/main/java/org/jabref/gui/preferences/PreferencesDialogView.java @@ -58,6 +58,8 @@ public PreferencesDialogViewModel getViewModel() { return viewModel; } + public ListView getPreferenceTabList() { return preferenceTabList; } + @FXML private void initialize() { viewModel = new PreferencesDialogViewModel(dialogService, frame); diff --git a/src/main/java/org/jabref/gui/preferences/ShowPreferencesAction.java b/src/main/java/org/jabref/gui/preferences/ShowPreferencesAction.java index f17774fcb57..541ef888623 100644 --- a/src/main/java/org/jabref/gui/preferences/ShowPreferencesAction.java +++ b/src/main/java/org/jabref/gui/preferences/ShowPreferencesAction.java @@ -1,5 +1,6 @@ package org.jabref.gui.preferences; +import org.jabref.Globals; import org.jabref.gui.JabRefFrame; import org.jabref.gui.actions.SimpleCommand; import org.jabref.gui.util.TaskExecutor; @@ -16,6 +17,12 @@ public ShowPreferencesAction(JabRefFrame jabRefFrame, TaskExecutor taskExecutor) @Override public void execute() { - new PreferencesDialogView(jabRefFrame).show(); + PreferencesDialogView preferencesDialogView = new PreferencesDialogView(jabRefFrame); + preferencesDialogView.show(); + for (PreferencesTab tab: preferencesDialogView.getPreferenceTabList().getItems()) { + if (tab.getBuilder().getScene() != null) { + Globals.getThemeLoader().installCss(tab.getBuilder().getScene(), Globals.prefs); + } + } } } diff --git a/src/main/resources/journals/journalList.mv b/src/main/resources/journals/journalList.mv new file mode 100644 index 00000000000..93d344bd2d3 Binary files /dev/null and b/src/main/resources/journals/journalList.mv differ