/
rgd045
/
crypt-file
Обзор
Документация
Войти
/
rgd045
/
crypt-file
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/main/resources/fxml/wrongfilealert.fxml
76 строк
3 KB
Armin Schrenk
change translation keys to use unified dialog scheme
29 июн 2022, 11:07
Не верифицирован
29 июн 2022, 11:07
dffd4d9
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <?import org.cryptomator.ui.controls.FontAwesome5IconView?> <?import javafx.geometry.Insets?> <?import javafx.scene.control.Button?> <?import javafx.scene.control.ButtonBar?> <?import javafx.scene.control.Hyperlink?> <?import javafx.scene.control.Label?> <?import javafx.scene.image.ImageView?> <?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 javafx.scene.Group?> <?import javafx.scene.layout.Region?> <HBox xmlns:fx="http://javafx.com/fxml" xmlns="http://javafx.com/javafx" fx:controller="org.cryptomator.ui.wrongfilealert.WrongFileAlertController" prefWidth="600" maxWidth="-Infinity" minWidth="-Infinity" minHeight="-Infinity" spacing="12" alignment="TOP_LEFT"> <padding> <Insets topRightBottomLeft="12"/> </padding> <children> <Group> <StackPane> <padding> <Insets topRightBottomLeft="6"/> </padding> <Circle styleClass="glyph-icon-primary" radius="24"/> <FontAwesome5IconView styleClass="glyph-icon-white" glyph="INFO" glyphSize="24"/> </StackPane> </Group> <VBox HBox.hgrow="ALWAYS"> <Label styleClass="label-large" text="%wrongFileAlert.message" wrapText="true" textAlignment="LEFT"> <padding> <Insets bottom="6" top="6"/> </padding> </Label> <Label text="%wrongFileAlert.description" wrapText="true" textAlignment="LEFT" /> <ImageView fitWidth="500" preserveRatio="true" smooth="true" cache="true" image="${controller.screenshot}"/> <VBox spacing="6" alignment="CENTER_LEFT" VBox.vgrow="ALWAYS"> <Label text="%wrongFileAlert.instruction.0" wrapText="true"/> <VBox alignment="CENTER_LEFT" VBox.vgrow="ALWAYS" spacing="6"> <padding> <Insets left="12"/> </padding> <Label text="%wrongFileAlert.instruction.1" wrapText="true"/> <Label text="%wrongFileAlert.instruction.2" wrapText="true"/> <Label text="%wrongFileAlert.instruction.3" wrapText="true"/> </VBox> <TextFlow styleClass="text-flow"> <Text text="%wrongFileAlert.link"/> <Text text=" "/> <Hyperlink styleClass="hyperlink-underline" text="docs.cryptomator.org" onAction="#openDocumentation"/> <Text text="."/> </TextFlow> </VBox> <Region VBox.vgrow="ALWAYS" minHeight="18"/> <ButtonBar buttonMinWidth="120" buttonOrder="+C"> <buttons> <Button text="%generic.button.close" ButtonBar.buttonData="CANCEL_CLOSE" defaultButton="true" cancelButton="true" onAction="#close"/> </buttons> </ButtonBar> </VBox> </children> </HBox>