make alert dialogs resizable

This commit is contained in:
Craig Raw 2023-07-18 10:37:27 +02:00
parent 7bb22419df
commit ac7a964edf

View file

@ -53,6 +53,8 @@ public class DefaultInteractionServices implements InteractionServices {
alert.getDialogPane().setPrefHeight(200 + numLines * 20); alert.getDialogPane().setPrefHeight(200 + numLines * 20);
} }
alert.setResizable(true);
moveToActiveWindowScreen(alert); moveToActiveWindowScreen(alert);
return alert.showAndWait(); return alert.showAndWait();
} }