123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?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.TextField?>
- <?import javafx.scene.layout.HBox?>
- <?import javafx.scene.layout.StackPane?>
- <?import javafx.scene.layout.VBox?>
- <?import javafx.scene.shape.Circle?>
- <?import org.cryptomator.ui.controls.FontAwesome5IconView?>
- <VBox xmlns="http://javafx.com/javafx"
- xmlns:fx="http://javafx.com/fxml"
- fx:controller="org.cryptomator.ui.recoverykey.RecoveryKeyDisplayController"
- minWidth="400"
- maxWidth="400"
- minHeight="145"
- spacing="12"
- alignment="TOP_CENTER">
- <padding>
- <Insets topRightBottomLeft="12"/>
- </padding>
- <children>
- <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="CHECK" glyphSize="24"/>
- </StackPane>
-
- <!-- TODO use TextArea instead -->
- <TextField editable="false" text="${controller.recoveryKey}" HBox.hgrow="ALWAYS"/>
- </HBox>
- <VBox alignment="BOTTOM_CENTER" VBox.vgrow="ALWAYS">
- <ButtonBar buttonMinWidth="120" buttonOrder="+C">
- <buttons>
- <Button text="%generic.button.done" ButtonBar.buttonData="CANCEL_CLOSE" cancelButton="true" onAction="#close"/>
- </buttons>
- </ButtonBar>
- </VBox>
- </children>
- </VBox>
|