-
Notifications
You must be signed in to change notification settings - Fork 0
/
YouWin.fxml
27 lines (24 loc) · 1.06 KB
/
YouWin.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="800.0" prefWidth="800.0" styleClass="welcomeImage" stylesheets="@style.css" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="YouWinController">
<children>
<Label layoutX="139.0" layoutY="563.0" text="Congratulations! You've Retired!">
<font>
<Font size="36.0" />
</font>
</Label>
<Label layoutX="336.0" layoutY="231.0" text="You Win!">
<font>
<Font size="36.0" />
</font>
</Label>
<HBox alignment="CENTER" layoutX="345.0" layoutY="767.0" spacing="10">
<Button fx:id="newGame" mnemonicParsing="false" onAction="#newGame" text="Play Again?" />
<Button fx:id="exit" mnemonicParsing="false" onAction="#exit" text="Exit" />
</HBox>
</children>
</AnchorPane>