set resizable false
Some checks failed
Build / Compile and Test (push) Has been cancelled

This commit is contained in:
Jan-Peter Klein 2024-11-15 15:49:11 +01:00
parent af667b10cf
commit 8440705436
No known key found for this signature in database
GPG Key ID: 90EDA3A7C822FD0E

View File

@ -28,6 +28,7 @@ public class CustomDialog {
dialogStage.initOwner(builder.owner); dialogStage.initOwner(builder.owner);
dialogStage.initModality(Modality.WINDOW_MODAL); dialogStage.initModality(Modality.WINDOW_MODAL);
dialogStage.setTitle(resolveText(builder.titleKey, builder.titleArgs)); dialogStage.setTitle(resolveText(builder.titleKey, builder.titleArgs));
dialogStage.setResizable(false);
try { try {
FxmlLoaderFactory loaderFactory = FxmlLoaderFactory.forController(new CustomDialogController(), Scene::new, builder.resourceBundle); FxmlLoaderFactory loaderFactory = FxmlLoaderFactory.forController(new CustomDialogController(), Scene::new, builder.resourceBundle);