From 74058238ece07a648feca348ddaade8b41a18876 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Mon, 27 Jun 2022 17:52:34 +0200 Subject: [PATCH] adjust design of wrong file alert --- .../wrongfilealert/WrongFileAlertModule.java | 2 +- src/main/resources/fxml/wrongfilealert.fxml | 71 +++++++++++-------- src/main/resources/i18n/strings.properties | 6 +- 3 files changed, 44 insertions(+), 35 deletions(-) diff --git a/src/main/java/org/cryptomator/ui/wrongfilealert/WrongFileAlertModule.java b/src/main/java/org/cryptomator/ui/wrongfilealert/WrongFileAlertModule.java index 19dd486fb..f99356142 100644 --- a/src/main/java/org/cryptomator/ui/wrongfilealert/WrongFileAlertModule.java +++ b/src/main/java/org/cryptomator/ui/wrongfilealert/WrongFileAlertModule.java @@ -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); diff --git a/src/main/resources/fxml/wrongfilealert.fxml b/src/main/resources/fxml/wrongfilealert.fxml index da394e068..f367433df 100644 --- a/src/main/resources/fxml/wrongfilealert.fxml +++ b/src/main/resources/fxml/wrongfilealert.fxml @@ -13,51 +13,60 @@ - + + + spacing="12" + alignment="TOP_LEFT"> - + - - + + + + + - - - - - - - - +