-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainMenu.fxml
62 lines (60 loc) · 3.2 KB
/
MainMenu.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="UTF-8"?>
<?import java.net.*?>
<?import javafx.scene.*?>
<?import javafx.scene.effect.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.text.*?>
<?import javafx.scene.control.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.AnchorPane?>
<GridPane fx:id="_rootPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="800.0" styleClass="background" stylesheets="@application.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.MainMenu">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="700.0" prefWidth="800.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints maxHeight="180.0" minHeight="10.0" prefHeight="180.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="177.0" minHeight="0.0" prefHeight="100.0" vgrow="SOMETIMES" />
<RowConstraints maxHeight="367.0" minHeight="10.0" prefHeight="221.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<VBox alignment="CENTER" GridPane.halignment="CENTER" GridPane.rowIndex="2" GridPane.valignment="CENTER">
<children>
<HBox alignment="CENTER" prefWidth="200.0" spacing="10.0">
<children>
<Button mnemonicParsing="false" onAction="#micTestButton" prefHeight="60.0" prefWidth="179.0" text="Test Microphone" />
<Label prefHeight="55.0" prefWidth="280.0" styleClass="label-textsmall" text="Test if your microphone is working" textFill="WHITE" />
</children>
<padding>
<Insets bottom="5.0" left="10.0" right="10.0" top="10.0" />
</padding>
</HBox>
<HBox alignment="CENTER" prefWidth="200.0" spacing="10.0">
<children>
<Button mnemonicParsing="false" onAction="#practiceButton" prefHeight="60.0" prefWidth="179.0" text="Practice Names" />
<Label prefHeight="20.0" prefWidth="278.0" styleClass="label-textsmall" text="Start Practicing names" />
</children>
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="5.0" />
</padding>
</HBox>
</children>
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</padding>
</VBox>
<Label alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" prefHeight="141.0" prefWidth="800.0" styleClass="label-header" text="Welcome to Name Sayer Practice" GridPane.hgrow="ALWAYS" GridPane.vgrow="ALWAYS">
<GridPane.margin>
<Insets bottom="100.0" />
</GridPane.margin>
</Label>
<Text fill="WHITE" strokeType="OUTSIDE" strokeWidth="0.0" text="You can practice the pronunciation of the names in the database, and use the pre-recorded pronounciations to help you" textAlignment="CENTER" wrappingWidth="652.7294921875" GridPane.halignment="CENTER" GridPane.rowIndex="1">
<font>
<Font size="29.0" />
</font>
<GridPane.margin>
<Insets />
</GridPane.margin>
</Text>
</children>
</GridPane>