EmojiSelectorUI.fxml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.scene.Cursor?>
  3. <?import javafx.scene.control.ScrollPane?>
  4. <?import javafx.scene.control.TextField?>
  5. <?import javafx.scene.image.Image?>
  6. <?import javafx.scene.image.ImageView?>
  7. <?import javafx.scene.layout.AnchorPane?>
  8. <?import javafx.scene.layout.FlowPane?>
  9. <?import javafx.scene.layout.HBox?>
  10. <?import javafx.scene.layout.VBox?>
  11. <VBox alignment="TOP_RIGHT" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.chat.emojis.EmojiSelectorController">
  12. <children>
  13. <HBox alignment="TOP_RIGHT">
  14. <children>
  15. <TextField fx:id="searchTextField" prefHeight="23.0" prefWidth="385.0" promptText="Search emoji" />
  16. <ImageView fitHeight="23.0" fitWidth="23.0" onMousePressed="#closeImgViewPressedAction" pickOnBounds="true" preserveRatio="true">
  17. <image>
  18. <!-- <Image url="/image/icon_emoji.png" />-->
  19. </image>
  20. </ImageView>
  21. </children>
  22. </HBox>
  23. <AnchorPane>
  24. <children>
  25. <ScrollPane fx:id="searchScrollPane">
  26. <content>
  27. <FlowPane fx:id="searchFlowPane" prefHeight="200.0" prefWidth="400.0" />
  28. </content>
  29. </ScrollPane>
  30. <ScrollPane fx:id="showScrollPane" layoutX="1.0" layoutY="1.0">
  31. <content>
  32. <FlowPane fx:id="showFlowPane" prefHeight="200.0" prefWidth="400.0" />
  33. </content>
  34. </ScrollPane>
  35. </children>
  36. </AnchorPane>
  37. </children>
  38. <cursor>
  39. <Cursor fx:constant="CLOSED_HAND" />
  40. </cursor>
  41. </VBox>