Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.scene.control.Label?>
- <?import javafx.scene.image.ImageView?>
- <?import javafx.scene.layout.Pane?>
- <?import javafx.scene.layout.VBox?>
- <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">
- <children>
- <Pane fx:id="pnHeader" prefHeight="50.0" prefWidth="500.0">
- <children>
- <Label fx:id="lbScore" layoutX="14.0" layoutY="17.0" text="Score: 0" />
- <Label fx:id="lbLives" layoutX="265.0" layoutY="17.0" text="Lives: 3" />
- </children>
- </Pane>
- <Pane fx:id="pnField" layoutY="50.0" prefHeight="500.0" prefWidth="500.0" style="-fx-background-image: url('/images/background.png');">
- <children>
- <ImageView fx:id="ivObject" fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true" />
- </children>
- </Pane>
- </children>
- </VBox>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement