diff --git a/src/main/java/edu/kit/iti/formal/stvs/view/common/AlertFactory.java b/src/main/java/edu/kit/iti/formal/stvs/view/common/AlertFactory.java index 9e4768d6..2eda4080 100644 --- a/src/main/java/edu/kit/iti/formal/stvs/view/common/AlertFactory.java +++ b/src/main/java/edu/kit/iti/formal/stvs/view/common/AlertFactory.java @@ -45,9 +45,9 @@ public static Alert createAlert(Throwable exception, String title, String descri return createAlert(Alert.AlertType.ERROR, title, description, exception.getMessage() /* // Decided in Issue https://github.com/VerifAPS/stvs/issues/20, that the expandable content - // should not be shown, instead it should be just logged - , stackTrace - //*/); + // should not be shown, instead it should be just logged */ + /* MU: give it another try */ + , stackTrace); } /** @@ -109,6 +109,12 @@ public static Alert createAlert(Alert.AlertType type, String title, String descr alert.getDialogPane().setId("AlertDialogPane_" + type.toString()); + // MU: possible resolution to #20 + alert.setResizable(true); + alert.resizableProperty().addListener((x,o,n) -> { + alert.setResizable(true); + }); + return alert; } }