diff --git a/CHANGELOG.md b/CHANGELOG.md index 8509b7b0773..2b701f44d02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve ### Fixed +- We fixed the Cleanup entries dialog is partially visible [#9223](https://github.com/JabRef/jabref/issues/9223) - We fixed the display of the "Customize Entry Types" dialogue title [#9198](https://github.com/JabRef/jabref/issues/9198) - We fixed an issue where author names with tilde accents (for example ñ) were marked as "Names are not in the standard BibTex format" [#8071](https://github.com/JabRef/jabref/issues/8071) - We fixed an issue where the possibility to generate a subdatabase from an aux file was writing empty files when called from the commandline [#9115](https://github.com/JabRef/jabref/issues/9115), [forum#3516](https://discourse.jabref.org/t/export-subdatabase-from-aux-file-on-macos-command-line/3516) diff --git a/src/main/java/org/jabref/gui/cleanup/CleanupDialog.java b/src/main/java/org/jabref/gui/cleanup/CleanupDialog.java index 98b3fcc2bee..28c94a2cf88 100644 --- a/src/main/java/org/jabref/gui/cleanup/CleanupDialog.java +++ b/src/main/java/org/jabref/gui/cleanup/CleanupDialog.java @@ -1,6 +1,7 @@ package org.jabref.gui.cleanup; import javafx.scene.control.ButtonType; +import javafx.scene.control.ScrollPane; import org.jabref.gui.util.BaseDialog; import org.jabref.logic.l10n.Localization; @@ -9,14 +10,20 @@ import org.jabref.preferences.FilePreferences; public class CleanupDialog extends BaseDialog { - public CleanupDialog(BibDatabaseContext databaseContext, CleanupPreferences initialPreset, FilePreferences filePreferences) { setTitle(Localization.lang("Cleanup entries")); - getDialogPane().setPrefSize(600, 600); + getDialogPane().setPrefSize(600, 650); getDialogPane().getButtonTypes().setAll(ButtonType.OK, ButtonType.CANCEL); CleanupPresetPanel presetPanel = new CleanupPresetPanel(databaseContext, initialPreset, filePreferences); - getDialogPane().setContent(presetPanel); + + // placing the content of the presetPanel in a scroll pane + ScrollPane scrollPane = new ScrollPane(); + scrollPane.setFitToWidth(true); + scrollPane.setFitToHeight(true); + scrollPane.setContent(presetPanel); + + getDialogPane().setContent(scrollPane); setResultConverter(button -> { if (button == ButtonType.OK) { return presetPanel.getCleanupPreset();