From 9e411b7bdc56f879813353782e7a44d9ba882463 Mon Sep 17 00:00:00 2001 From: Phillip Cabaniss Date: Fri, 14 Jul 2023 05:39:24 -0500 Subject: [PATCH] Fix spacing in Cleanup dialog #10081 --- .vscode/launch.json | 15 +++++++ .../org/jabref/gui/cleanup/CleanupDialog.java | 2 +- .../gui/cleanup/CleanupPresetPanel.fxml | 43 ++++++++++--------- 3 files changed, 38 insertions(+), 22 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000000..15eeb47382d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "type": "java", + "name": "Current File", + "request": "launch", + "mainClass": "${file}" + } + ] +} \ No newline at end of file diff --git a/src/main/java/org/jabref/gui/cleanup/CleanupDialog.java b/src/main/java/org/jabref/gui/cleanup/CleanupDialog.java index 28c94a2cf88..6153cf3c5dd 100644 --- a/src/main/java/org/jabref/gui/cleanup/CleanupDialog.java +++ b/src/main/java/org/jabref/gui/cleanup/CleanupDialog.java @@ -14,7 +14,7 @@ public CleanupDialog(BibDatabaseContext databaseContext, CleanupPreferences init setTitle(Localization.lang("Cleanup entries")); getDialogPane().setPrefSize(600, 650); getDialogPane().getButtonTypes().setAll(ButtonType.OK, ButtonType.CANCEL); - + CleanupPresetPanel presetPanel = new CleanupPresetPanel(databaseContext, initialPreset, filePreferences); // placing the content of the presetPanel in a scroll pane diff --git a/src/main/java/org/jabref/gui/cleanup/CleanupPresetPanel.fxml b/src/main/java/org/jabref/gui/cleanup/CleanupPresetPanel.fxml index 4ab659749cd..63a43f464af 100644 --- a/src/main/java/org/jabref/gui/cleanup/CleanupPresetPanel.fxml +++ b/src/main/java/org/jabref/gui/cleanup/CleanupPresetPanel.fxml @@ -13,31 +13,32 @@ - - + + - - - - - - - - + + + + + + + + - - - - - - + +