|
@@ -1,29 +1,41 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
|
+<?import javafx.geometry.Insets?>
|
|
|
<?import javafx.scene.control.Button?>
|
|
|
<?import javafx.scene.control.ButtonBar?>
|
|
|
<?import javafx.scene.control.Label?>
|
|
|
-<?import javafx.scene.layout.AnchorPane?>
|
|
|
<?import javafx.scene.layout.HBox?>
|
|
|
<?import javafx.scene.layout.StackPane?>
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
<?import javafx.scene.shape.Circle?>
|
|
|
+<?import javafx.scene.text.Text?>
|
|
|
+<?import javafx.scene.text.TextFlow?>
|
|
|
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
|
|
|
|
|
|
-<AnchorPane xmlns="http://javafx.com/javafx"
|
|
|
- xmlns:fx="http://javafx.com/fxml"
|
|
|
- fx:controller="org.cryptomator.ui.migration.MigrationImpossibleController"
|
|
|
- prefHeight="400.0" prefWidth="600.0">
|
|
|
+<?import javafx.scene.control.Hyperlink?>
|
|
|
+<VBox xmlns="http://javafx.com/javafx"
|
|
|
+ xmlns:fx="http://javafx.com/fxml"
|
|
|
+ fx:controller="org.cryptomator.ui.migration.MigrationImpossibleController"
|
|
|
+ minWidth="400"
|
|
|
+ maxWidth="400"
|
|
|
+ minHeight="145"
|
|
|
+ spacing="12">
|
|
|
+ <padding>
|
|
|
+ <Insets topRightBottomLeft="12"/>
|
|
|
+ </padding>
|
|
|
|
|
|
<HBox spacing="12" alignment="CENTER_LEFT" VBox.vgrow="ALWAYS">
|
|
|
<StackPane alignment="CENTER" HBox.hgrow="NEVER">
|
|
|
<Circle styleClass="glyph-icon-primary" radius="24"/>
|
|
|
<FontAwesome5IconView styleClass="glyph-icon-white" glyph="TIMES" glyphSize="24"/>
|
|
|
</StackPane>
|
|
|
- <Label text="%migration.impossible.nextStepsInstructions" wrapText="true" HBox.hgrow="ALWAYS"/>
|
|
|
-
|
|
|
- <!-- TODO: maybe add error why it is not possible -->
|
|
|
+ <TextFlow>
|
|
|
+ <Label text="%migration.impossible.reason" wrapText="true" HBox.hgrow="ALWAYS"/>
|
|
|
+ <Text text="%migration.impossible.nextStepsInstructions" wrappingWidth="382" HBox.hgrow="ALWAYS"/>
|
|
|
+ <Text text="%migration.impossible.moreInfo"/>
|
|
|
+ <Hyperlink text="${controller.helpUri}" onAction="#getMigrationHelp"/>
|
|
|
+ </TextFlow>
|
|
|
</HBox>
|
|
|
|
|
|
<VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
|
|
@@ -34,4 +46,4 @@
|
|
|
</buttons>
|
|
|
</ButtonBar>
|
|
|
</VBox>
|
|
|
-</AnchorPane>
|
|
|
+</VBox>
|