|
@@ -8,6 +8,7 @@
|
|
|
<?import javafx.scene.control.ToggleGroup?>
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
+<?import javafx.scene.layout.Region?>
|
|
|
<VBox xmlns:fx="http://javafx.com/fxml"
|
|
|
xmlns="http://javafx.com/javafx"
|
|
|
fx:controller="org.cryptomator.ui.preferences.GeneralPreferencesController"
|
|
@@ -19,18 +20,20 @@
|
|
|
<Insets top="12" right="24" bottom="12" left="24"/>
|
|
|
</padding>
|
|
|
<children>
|
|
|
- <CheckBox fx:id="startHiddenCheckbox" text="%preferences.general.startHidden" />
|
|
|
+ <CheckBox fx:id="autoStartCheckbox" text="%preferences.general.autoStart" visible="${controller.autoStartSupported}" managed="${controller.autoStartSupported}" onAction="#toggleAutoStart"/>
|
|
|
|
|
|
- <HBox spacing="6" alignment="CENTER_LEFT">
|
|
|
- <CheckBox fx:id="debugModeCheckbox" text="%preferences.general.debugLogging"/>
|
|
|
- <Hyperlink styleClass="hyperlink-underline" text="%preferences.general.debugDirectory" onAction="#showLogfileDirectory"/>
|
|
|
- </HBox>
|
|
|
+ <CheckBox fx:id="startHiddenCheckbox" text="%preferences.general.startHidden" />
|
|
|
|
|
|
<HBox spacing="6" alignment="CENTER_LEFT">
|
|
|
<Label text="%preferences.general.keychainBackend"/>
|
|
|
<ChoiceBox fx:id="keychainBackendChoiceBox"/>
|
|
|
</HBox>
|
|
|
|
|
|
- <CheckBox fx:id="autoStartCheckbox" text="%preferences.general.autoStart" visible="${controller.autoStartSupported}" managed="${controller.autoStartSupported}" onAction="#toggleAutoStart"/>
|
|
|
+ <Region VBox.vgrow="ALWAYS"/>
|
|
|
+
|
|
|
+ <HBox spacing="6" alignment="CENTER_LEFT">
|
|
|
+ <CheckBox fx:id="debugModeCheckbox" text="%preferences.general.debugLogging"/>
|
|
|
+ <Hyperlink styleClass="hyperlink-underline" text="%preferences.general.debugDirectory" onAction="#showLogfileDirectory"/>
|
|
|
+ </HBox>
|
|
|
</children>
|
|
|
</VBox>
|