set missing min width and height

This commit is contained in:
Jan-Peter Klein 2024-10-09 16:50:26 +02:00
parent 978dec64ee
commit 44310cbd0e
No known key found for this signature in database
GPG Key ID: 90EDA3A7C822FD0E
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@ public interface ErrorComponent {
default Stage show() {
Stage stage = window();
stage.setScene(scene());
stage.setMinWidth(420);
stage.setMinHeight(300);
stage.show();
return stage;
}

View File

@ -25,6 +25,8 @@ public interface HealthCheckComponent {
default Stage showHealthCheckWindow() {
Stage stage = window();
stage.setScene(startScene().get());
stage.setMinWidth(420);
stage.setMinHeight(300);
stage.show();
return stage;
}