adjust design of wrong file alert

This commit is contained in:
Armin Schrenk
2022-06-27 17:52:34 +02:00
parent 78e458f01a
commit 74058238ec
3 changed files with 44 additions and 35 deletions

View File

@@ -35,7 +35,7 @@ abstract class WrongFileAlertModule {
@WrongFileAlertScoped
static Stage provideStage(StageFactory factory, @PrimaryStage Stage primaryStage, ResourceBundle resourceBundle) {
Stage stage = factory.create();
stage.setTitle(resourceBundle.getString("wrongFileAlert.title"));
stage.setTitle(resourceBundle.getString("wrongFileAlert.windowTitle"));
stage.setResizable(false);
stage.initOwner(primaryStage);
stage.initModality(Modality.WINDOW_MODAL);