update_reminder.fxml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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.updatereminder.UpdateReminderController"
  16. minWidth="500"
  17. prefWidth="500"
  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="QUESTION" glyphSize="24"/>
  32. </StackPane>
  33. </Group>
  34. <VBox HBox.hgrow="ALWAYS">
  35. <Label styleClass="label-large" text="%updateReminder.message" wrapText="true">
  36. <padding>
  37. <Insets bottom="6" top="6"/>
  38. </padding>
  39. </Label>
  40. <Label text="%updateReminder.description" wrapText="true"/>
  41. <Region VBox.vgrow="ALWAYS" minHeight="18"/>
  42. <ButtonBar buttonMinWidth="120" buttonOrder="+CY" >
  43. <buttons>
  44. <Button text="%updateReminder.notNow" ButtonBar.buttonData="CANCEL_CLOSE" cancelButton="true" onAction="#cancel"/>
  45. <Button text="%updateReminder.yesOnce" ButtonBar.buttonData="YES" onAction="#once"/>
  46. <Button text="%updateReminder.yesAutomatically" ButtonBar.buttonData="YES" defaultButton="true" onAction="#automatically"/>
  47. </buttons>
  48. </ButtonBar>
  49. </VBox>
  50. </children>
  51. </HBox>