|
@@ -10,8 +10,6 @@
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.HBox?>
|
|
<?import javafx.scene.layout.Region?>
|
|
<?import javafx.scene.layout.Region?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
<?import javafx.scene.layout.VBox?>
|
|
-<?import javafx.scene.text.Text?>
|
|
|
|
-<?import javafx.scene.text.TextFlow?>
|
|
|
|
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
|
|
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
|
|
<VBox xmlns="http://javafx.com/javafx"
|
|
<VBox xmlns="http://javafx.com/javafx"
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
@@ -48,10 +46,11 @@
|
|
<VBox spacing="6">
|
|
<VBox spacing="6">
|
|
<Label text="%addvaultwizard.new.locationLabel" labelFor="$locationTextField"/>
|
|
<Label text="%addvaultwizard.new.locationLabel" labelFor="$locationTextField"/>
|
|
<TextField fx:id="locationTextField" promptText="%addvaultwizard.new.locationPrompt" text="${controller.vaultPath}" disable="true" HBox.hgrow="ALWAYS"/>
|
|
<TextField fx:id="locationTextField" promptText="%addvaultwizard.new.locationPrompt" text="${controller.vaultPath}" disable="true" HBox.hgrow="ALWAYS"/>
|
|
- <TextFlow styleClass="text-flow" visible="${controller.showWarning}" prefHeight="22">
|
|
|
|
- <FontAwesome5IconView glyph="EXCLAMATION_TRIANGLE"/>
|
|
|
|
- <Text text="${controller.warningText}"/>
|
|
|
|
- </TextFlow>
|
|
|
|
|
|
+ <Label text="${controller.warningText}" wrapText="true" visible="${controller.showWarning}">
|
|
|
|
+ <graphic>
|
|
|
|
+ <FontAwesome5IconView glyph="EXCLAMATION_TRIANGLE"/>
|
|
|
|
+ </graphic>
|
|
|
|
+ </Label>
|
|
</VBox>
|
|
</VBox>
|
|
|
|
|
|
<Region VBox.vgrow="ALWAYS"/>
|
|
<Region VBox.vgrow="ALWAYS"/>
|