Browse Source

fixed style class of preferences window
[ci skip]

Sebastian Stenzel 5 years ago
parent
commit
bfe8a22b48

+ 0 - 1
main/ui/src/main/java/org/cryptomator/ui/preferences/PreferencesModule.java

@@ -35,7 +35,6 @@ abstract class PreferencesModule {
 		stage.setTitle(resourceBundle.getString("preferences.title"));
 		stage.setMinWidth(400);
 		stage.setMinHeight(300);
-		stage.initModality(Modality.APPLICATION_MODAL);
 		return stage;
 	}
 

+ 10 - 0
main/ui/src/main/resources/css/dark_theme.css

@@ -80,6 +80,16 @@
 	-fx-cursor: nw_resize;
 }
 
+/*******************************************************************************
+ *                                                                             *
+ * Preferences Window                                                          *
+ *                                                                             *
+ ******************************************************************************/
+
+.preferences-window {
+
+}
+
 /*******************************************************************************
  *                                                                             *
  * SplitPane                                                                   *

+ 10 - 0
main/ui/src/main/resources/css/light_theme.css

@@ -80,6 +80,16 @@
 	-fx-cursor: nw_resize;
 }
 
+/*******************************************************************************
+ *                                                                             *
+ * Preferences Window                                                          *
+ *                                                                             *
+ ******************************************************************************/
+
+.preferences-window {
+
+}
+
 /*******************************************************************************
  *                                                                             *
  * SplitPane                                                                   *

+ 1 - 1
main/ui/src/main/resources/fxml/preferences.fxml

@@ -11,7 +11,7 @@
 <VBox xmlns="http://javafx.com/javafx"
 	  xmlns:fx="http://javafx.com/fxml"
 	  fx:controller="org.cryptomator.ui.preferences.PreferencesController"
-	  styleClass="main-window"
+	  styleClass="preferences-window"
 	  spacing="6">
 	<padding>
 		<Insets bottom="12" left="12" right="12" top="12"/>