Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <?import javafx.geometry.*?>
- <?import javafx.scene.control.*?>
- <?import javafx.scene.layout.*?>
- <?import javafx.scene.text.*?>
- <StackPane prefHeight="470" prefWidth="470" style="-fx-background-color: cab577;" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.menu.HelloController">
- <VBox alignment="CENTER" maxHeight="400" maxWidth="400" spacing="20.0" style="-fx-background-color: white;">
- <padding>
- <Insets bottom="20.0" left="20.0" right="20.0" top="20.0" />
- </padding>
- <Label fx:id="welcomeText" text="NotRealBattleRoyale">
- <font>
- <Font name="Press Start 2P Regular" size="18.0" />
- </font>
- </Label>
- <HBox prefHeight="38.0" prefWidth="342.0">
- <children>
- <Label text="Username">
- <font>
- <Font name="Press Start 2P Regular" size="14.0" />
- </font>
- <padding>
- <Insets left="10.0" right="50.0" top="10.0" />
- </padding>
- </Label>
- <TextField>
- <HBox.margin>
- <Insets top="5.0" />
- </HBox.margin>
- </TextField>
- </children>
- </HBox>
- <HBox layoutX="30.0" layoutY="70.0" prefHeight="47.0" prefWidth="342.0">
- <children>
- <Label text="Server IP">
- <font>
- <Font name="Press Start 2P Regular" size="14.0" />
- </font>
- <padding>
- <Insets left="10.0" right="35.0" top="5.0" />
- </padding>
- </Label>
- <TextField>
- <HBox.margin>
- <Insets />
- </HBox.margin>
- </TextField>
- </children>
- </HBox>
- <Button mnemonicParsing="false" prefHeight="34.0" prefWidth="248.0" style="-fx-background-color: b1cbbb;" text="Play">
- <font>
- <Font name="Press Start 2P Regular" size="19.0" />
- </font>
- <VBox.margin>
- <Insets bottom="30.0" />
- </VBox.margin>
- </Button>
- <Button mnemonicParsing="false" prefHeight="34.0" prefWidth="245.0" style="-fx-background-color: eea29a;" text="Exit">
- <font>
- <Font name="Press Start 2P Regular" size="19.0" />
- </font>
- </Button>
- </VBox>
- </StackPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement