set preferences window min width and height

This commit is contained in:
Jan-Peter Klein
2024-07-09 13:48:45 +02:00
parent cb054bb4f5
commit 5f5b5a5426
2 changed files with 2 additions and 2 deletions

View File

@@ -30,6 +30,8 @@ public interface PreferencesComponent {
selectedTabProperty().set(selectedTab);
Stage stage = window();
stage.setScene(scene().get());
stage.setMinWidth(420);
stage.setMinHeight(300);
stage.show();
stage.requestFocus();
return stage;