preferences_general.fxml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.Label?>
  7. <?import javafx.scene.control.ToggleGroup?>
  8. <?import javafx.scene.layout.HBox?>
  9. <?import javafx.scene.layout.VBox?>
  10. <?import javafx.scene.layout.Region?>
  11. <VBox xmlns:fx="http://javafx.com/fxml"
  12. xmlns="http://javafx.com/javafx"
  13. fx:controller="org.cryptomator.ui.preferences.GeneralPreferencesController"
  14. spacing="12">
  15. <fx:define>
  16. <ToggleGroup fx:id="nodeOrientation"/>
  17. </fx:define>
  18. <padding>
  19. <Insets topRightBottomLeft="24"/>
  20. </padding>
  21. <children>
  22. <CheckBox fx:id="autoStartCheckbox" text="%preferences.general.autoStart" visible="${controller.autoStartSupported}" managed="${controller.autoStartSupported}" onAction="#toggleAutoStart"/>
  23. <CheckBox fx:id="startHiddenCheckbox" text="%preferences.general.startHidden" />
  24. <HBox spacing="12" alignment="CENTER_LEFT">
  25. <Label 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>