hub_register_success.fxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import org.cryptomator.ui.controls.FontAwesome5IconView?>
  3. <?import javafx.geometry.Insets?>
  4. <?import javafx.scene.control.Button?>
  5. <?import javafx.scene.control.ButtonBar?>
  6. <?import javafx.scene.control.Label?>
  7. <?import javafx.scene.Group?>
  8. <?import javafx.scene.layout.HBox?>
  9. <?import javafx.scene.layout.Region?>
  10. <?import javafx.scene.layout.StackPane?>
  11. <?import javafx.scene.layout.VBox?>
  12. <?import javafx.scene.shape.Circle?>
  13. <HBox xmlns:fx="http://javafx.com/fxml"
  14. xmlns="http://javafx.com/javafx"
  15. fx:controller="org.cryptomator.ui.keyloading.hub.RegisterSuccessController"
  16. minWidth="400"
  17. maxWidth="400"
  18. minHeight="145"
  19. spacing="12"
  20. alignment="TOP_LEFT">
  21. <padding>
  22. <Insets topRightBottomLeft="12"/>
  23. </padding>
  24. <children>
  25. <Group>
  26. <StackPane>
  27. <padding>
  28. <Insets topRightBottomLeft="6"/>
  29. </padding>
  30. <Circle styleClass="glyph-icon-primary" radius="24"/>
  31. <FontAwesome5IconView styleClass="glyph-icon-white" glyph="CHECK" glyphSize="24"/>
  32. </StackPane>
  33. </Group>
  34. <VBox HBox.hgrow="ALWAYS">
  35. <Label styleClass="label-large" text="%hub.registerSuccess.message" wrapText="true" textAlignment="LEFT">
  36. <padding>
  37. <Insets bottom="6" top="6"/>
  38. </padding>
  39. </Label>
  40. <Label text="%hub.registerSuccess.description" wrapText="true"/>
  41. <Region VBox.vgrow="ALWAYS" minHeight="18"/>
  42. <ButtonBar buttonMinWidth="120" buttonOrder="+C">
  43. <buttons>
  44. <Button text="%generic.button.close" ButtonBar.buttonData="CANCEL_CLOSE" defaultButton="true" onAction="#close"/>
  45. <!-- TODO: add request access button -->
  46. </buttons>
  47. </ButtonBar>
  48. </VBox>
  49. </children>
  50. </HBox>