preferences_general.fxml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.geometry.Insets?>
  3. <?import javafx.scene.control.CheckBox?>
  4. <?import javafx.scene.control.ChoiceBox?>
  5. <?import javafx.scene.control.Hyperlink?>
  6. <?import javafx.scene.control.ToggleGroup?>
  7. <?import javafx.scene.layout.HBox?>
  8. <?import javafx.scene.layout.VBox?>
  9. <?import javafx.scene.layout.Region?>
  10. <VBox xmlns:fx="http://javafx.com/fxml"
  11. xmlns="http://javafx.com/javafx"
  12. fx:controller="org.cryptomator.ui.preferences.GeneralPreferencesController"
  13. spacing="12">
  14. <fx:define>
  15. <ToggleGroup fx:id="nodeOrientation"/>
  16. </fx:define>
  17. <padding>
  18. <Insets topRightBottomLeft="24"/>
  19. </padding>
  20. <children>
  21. <CheckBox fx:id="autoStartCheckbox" text="%preferences.general.autoStart" visible="${controller.autoStartSupported}" managed="${controller.autoStartSupported}" onAction="#toggleAutoStart"/>
  22. <CheckBox fx:id="startHiddenCheckbox" text="%preferences.general.startHidden" />
  23. <CheckBox fx:id="autoCloseVaultsCheckbox" text="%preferences.general.autoCloseVaults" />
  24. <HBox spacing="12" alignment="CENTER_LEFT">
  25. <CheckBox fx:id="useKeychainCheckbox" text="%preferences.general.keychainBackend"/>
  26. <ChoiceBox fx:id="keychainBackendChoiceBox"/>
  27. </HBox>
  28. <Region VBox.vgrow="ALWAYS"/>
  29. <HBox spacing="12" alignment="CENTER_LEFT">
  30. <CheckBox fx:id="debugModeCheckbox" text="%preferences.general.debugLogging"/>
  31. <Hyperlink styleClass="hyperlink-underline" text="%preferences.general.debugDirectory" onAction="#showLogfileDirectory"/>
  32. </HBox>
  33. </children>
  34. </VBox>