mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-23 21:21:31 +00:00
45 lines
2.1 KiB
XML
45 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.CheckBox?>
|
|
<?import javafx.scene.control.ChoiceBox?>
|
|
<?import javafx.scene.control.Hyperlink?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.RadioButton?>
|
|
<?import javafx.scene.control.ToggleGroup?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<VBox xmlns:fx="http://javafx.com/fxml"
|
|
xmlns="http://javafx.com/javafx"
|
|
fx:controller="org.cryptomator.ui.preferences.InterfacePreferencesController"
|
|
spacing="9">
|
|
<fx:define>
|
|
<ToggleGroup fx:id="nodeOrientation"/>
|
|
</fx:define>
|
|
<padding>
|
|
<Insets top="12" right="24" bottom="12" left="24"/>
|
|
</padding>
|
|
<children>
|
|
<HBox spacing="6" alignment="CENTER_LEFT">
|
|
<Label text="%preferences.general.theme"/>
|
|
<ChoiceBox fx:id="themeChoiceBox" disable="${!controller.licenseHolder.validLicense}"/>
|
|
<Hyperlink styleClass="hyperlink-underline,hyperlink-muted" text="%preferences.general.unlockThemes" onAction="#showContributeTab" visible="${!controller.licenseHolder.validLicense}" managed="${!controller.licenseHolder.validLicense}"/>
|
|
</HBox>
|
|
|
|
<HBox spacing="6" alignment="CENTER_LEFT">
|
|
<Label text="%preferences.general.interfaceOrientation" HBox.hgrow="NEVER"/>
|
|
<RadioButton fx:id="nodeOrientationLtr" text="%preferences.general.interfaceOrientation.ltr" alignment="CENTER_LEFT" toggleGroup="${nodeOrientation}"/>
|
|
<RadioButton fx:id="nodeOrientationRtl" text="%preferences.general.interfaceOrientation.rtl" alignment="CENTER_RIGHT" toggleGroup="${nodeOrientation}"/>
|
|
</HBox>
|
|
|
|
<CheckBox fx:id="showMinimizeButtonCheckbox" text="%preferences.general.showMinimizeButton" visible="${controller.trayMenuInitialized}" managed="${controller.trayMenuInitialized}"/>
|
|
|
|
<CheckBox fx:id="showTrayIconCheckbox" text="%preferences.general.showTrayIcon" visible="${controller.trayMenuSupported}" managed="${controller.trayMenuSupported}"/>
|
|
|
|
<HBox spacing="6" alignment="CENTER_LEFT">
|
|
<Label text="%preferences.general.language"/>
|
|
<ChoiceBox fx:id="preferredLanguageChoiceBox"/>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|