InformationWindow.fxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?import javafx.geometry.Insets?>
  3. <?import javafx.scene.control.Label?>
  4. <?import javafx.scene.control.TitledPane?>
  5. <?import javafx.scene.image.ImageView?>
  6. <?import javafx.scene.layout.HBox?>
  7. <?import javafx.scene.layout.VBox?>
  8. <HBox xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1">
  9. <children>
  10. <VBox prefHeight="200.0" prefWidth="100.0" HBox.hgrow="ALWAYS">
  11. <children>
  12. <TitledPane animated="false" collapsible="false" prefHeight="1071.0" prefWidth="184.0" text="Functional Principle" VBox.vgrow="ALWAYS">
  13. <content>
  14. <HBox>
  15. <children>
  16. <Label fx:id="text1" alignment="TOP_LEFT" text="Label" wrapText="true" />
  17. </children>
  18. </HBox>
  19. </content>
  20. <VBox.margin>
  21. <Insets bottom="10.0" left="10.0" top="10.0" />
  22. </VBox.margin>
  23. </TitledPane>
  24. </children>
  25. </VBox>
  26. <TitledPane collapsible="false" text="Preview" VBox.vgrow="ALWAYS">
  27. <VBox.margin>
  28. <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
  29. </VBox.margin>
  30. <content>
  31. <VBox fx:id="previewPane" alignment="CENTER_LEFT" prefHeight="1038.0" prefWidth="228.0" spacing="3.0">
  32. <children>
  33. <ImageView fx:id="image" fitHeight="200.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true">
  34. <VBox.margin>
  35. <Insets bottom="10.0"/>
  36. </VBox.margin>
  37. </ImageView>
  38. <Label fx:id="greenText" text="Object's walls" />
  39. <Label fx:id="redText" text="Conductive parts" />
  40. <Label fx:id="blueText" text="Water" />
  41. <Label fx:id="iceText" text="Ice" />
  42. </children>
  43. </VBox>
  44. </content>
  45. <HBox.margin>
  46. <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
  47. </HBox.margin>
  48. </TitledPane>
  49. </children>
  50. </HBox>