mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-07-27 10:33:17 +00:00
* Define discrete rotation animation * New class FontAwesome5Spinner extending FontAwesome5IconView, animated * New class AutoAnimator to play Animation on a Node conditionally * Replace all occurences of Progress Indicator with FontAwesome5Spinner * Spin spinner icon in processing vault state * remove undocumented progress indicator styling
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import org.cryptomator.ui.controls.FormattedLabel?>
|
|
<?import org.cryptomator.ui.controls.FormattedString?>
|
|
<?import javafx.geometry.Insets?>
|
|
<?import javafx.scene.control.Button?>
|
|
<?import javafx.scene.control.CheckBox?>
|
|
<?import javafx.scene.control.Hyperlink?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import org.cryptomator.ui.controls.FontAwesome5Spinner?>
|
|
<VBox xmlns:fx="http://javafx.com/fxml"
|
|
xmlns="http://javafx.com/javafx"
|
|
fx:controller="org.cryptomator.ui.preferences.UpdatesPreferencesController"
|
|
spacing="6">
|
|
<fx:define>
|
|
<FormattedString fx:id="linkLabel" format="%preferences.updates.updateAvailable" arg1="${controller.latestVersion}"/>
|
|
</fx:define>
|
|
<padding>
|
|
<Insets topRightBottomLeft="12"/>
|
|
</padding>
|
|
<children>
|
|
<FormattedLabel format="%preferences.updates.currentVersion" arg1="${controller.currentVersion}" textAlignment="CENTER" wrapText="true"/>
|
|
|
|
<CheckBox fx:id="checkForUpdatesCheckbox" text="%preferences.updates.autoUpdateCheck"/>
|
|
|
|
<VBox alignment="CENTER" spacing="6">
|
|
<Button text="%preferences.updates.checkNowBtn" defaultButton="true" onAction="#checkNow" contentDisplay="${controller.checkForUpdatesButtonState}">
|
|
<graphic>
|
|
<FontAwesome5Spinner fx:id="spinner" glyphSize="12"/>
|
|
</graphic>
|
|
</Button>
|
|
|
|
<Hyperlink text="${linkLabel.value}" onAction="#visitDownloadsPage" textAlignment="CENTER" wrapText="true" styleClass="hyperlink-underline" visible="${controller.updateAvailable}"/>
|
|
</VBox>
|
|
</children>
|
|
</VBox>
|