decryptnames_cipherandcleartextcell.fxml 893 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.scene.layout.HBox?>
  3. <?import org.cryptomator.ui.controls.FontAwesome5IconView?>
  4. <?import javafx.scene.text.Text?>
  5. <?import javafx.geometry.Insets?>
  6. <?import javafx.scene.control.Label?>
  7. <?import javafx.scene.layout.StackPane?>
  8. <HBox xmlns="http://javafx.com/javafx"
  9. xmlns:fx="http://javafx.com/fxml"
  10. fx:controller="org.cryptomator.ui.decryptname.CipherAndCleartextCellController"
  11. spacing="6"
  12. fx:id="root"
  13. >
  14. <padding>
  15. <Insets topRightBottomLeft="6"/>
  16. </padding>
  17. <FontAwesome5IconView glyph="${controller.icon}" glyphSize="16" />
  18. <StackPane alignment="CENTER_LEFT">
  19. <Label styleClass="label" textOverrun="CENTER_ELLIPSIS" text="${controller.ciphertext}" visible="${!root.hover}"/>
  20. <Label styleClass="label" textOverrun="CENTER_ELLIPSIS" text="${controller.cleartext}" visible="${root.hover}"/>
  21. </StackPane>
  22. </HBox>