From 41f817c7e7c75b82ee96fcab8cd6fbbc40e06dcd Mon Sep 17 00:00:00 2001 From: petebankhead Date: Sat, 2 Mar 2024 17:55:34 +0000 Subject: [PATCH 1/2] Make yes/no/cancel no longer resizable Resolves inconsistency at https://github.com/qupath/qupath-fxtras/issues/26 --- build.gradle | 2 +- src/main/java/qupath/fx/dialogs/Dialogs.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 77826bf..41756d9 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ description = "Extra classes built on JavaFX that are used to help create the Qu "These don't depend on other QuPath modules, so can be reused elsewhere." group = 'io.github.qupath' -version = '0.1.3' +version = '0.1.4-SNAPSHOT' tasks.named('compileJava') { // Use the project's version or define one directly diff --git a/src/main/java/qupath/fx/dialogs/Dialogs.java b/src/main/java/qupath/fx/dialogs/Dialogs.java index 870359a..ea1929a 100644 --- a/src/main/java/qupath/fx/dialogs/Dialogs.java +++ b/src/main/java/qupath/fx/dialogs/Dialogs.java @@ -200,7 +200,6 @@ public static ButtonType showYesNoCancelDialog(String title, String text) { .buttons(ButtonType.YES, ButtonType.NO, ButtonType.CANCEL) .title(title) .content(createContentLabel(text)) - .resizable() .showAndWait() .orElse(ButtonType.CANCEL); } From 90369d0c5250e95e770ac3170b323e1277811db5 Mon Sep 17 00:00:00 2001 From: petebankhead Date: Sat, 2 Mar 2024 17:56:56 +0000 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54b089b..4914fce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## v0.1.4 +- Make yes/no/cancel dialog non-resizable, for consistency (https://github.com/qupath/qupath-fxtras/issues/26) + ## v0.1.3 - Support prompt text for preferences using text fields or combo boxes - Use 'key + .prompt' within resource bundles