Source

fx-games / defender / src / main / resources / fxml / WelcomePanel.fxml

<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.paint.*?>

<fx:root type="com.fxexperience.games.defender.ui.WelcomePanel"
         styleClass="welcome-view"
         xmlns:fx="http://javafx.com/fxml">

    <VBox fx:id="topHalf" styleClass="top-half" VBox.vgrow="ALWAYS" fillWidth="true" alignment="CENTER">
        <Text fx:id="titleLabel" styleClass="title" text="JavaFX Defender"/>
        <Text fx:id="captionLabel" text="Shoot stuff and what not"/>
    </VBox>

    <VBox fx:id="bottomHalf" styleClass="bottom-half" VBox.vgrow="ALWAYS" fillWidth="true" alignment="TOP_CENTER">
        <Text fx:id="producedByLabel" text="Brought to you by FX Experience"/>
    </VBox>

</fx:root>