Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import javafx.scene.control.Label?>
  4. <?import javafx.scene.image.ImageView?>
  5. <?import javafx.scene.layout.Pane?>
  6.  
  7. <?import javafx.scene.layout.VBox?>
  8. <VBox maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="550.0" prefWidth="500.0" xmlns="http://javafx.com/javafx/8.0.60" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fruitninja.controllers.MainController">
  9. <children>
  10. <Pane fx:id="pnHeader" prefHeight="50.0" prefWidth="500.0">
  11. <children>
  12. <Label fx:id="lbScore" layoutX="14.0" layoutY="17.0" text="Score: 0" />
  13. <Label fx:id="lbLives" layoutX="265.0" layoutY="17.0" text="Lives: 3" />
  14. </children>
  15. </Pane>
  16. <Pane fx:id="pnField" layoutY="50.0" prefHeight="500.0" prefWidth="500.0" style="-fx-background-image: url('/images/background.png');">
  17. <children>
  18. <ImageView fx:id="ivObject" fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true" />
  19. </children>
  20. </Pane>
  21. </children>
  22. </VBox>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement