-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhello-view.fxml
More file actions
46 lines (44 loc) · 2.66 KB
/
hello-view.fxml
File metadata and controls
46 lines (44 loc) · 2.66 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<?import de.jensd.fx.glyphs.fontawesome.FontAwesomeIcon?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.PasswordField?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="541.0" prefWidth="744.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.example.jproject.LoginController">
<left>
<AnchorPane prefHeight="542.0" prefWidth="383.0" style="-fx-background-color: #d0bdf4;" BorderPane.alignment="CENTER">
<children>
<Text layoutX="56.0" layoutY="223.0" strokeType="OUTSIDE" strokeWidth="0.0" text="FITNESS TRACKER ">
<font>
<Font name="Georgia Bold" size="26.0" />
</font>
</Text>
<Text layoutX="93.0" layoutY="265.0" strokeType="OUTSIDE" strokeWidth="0.0" text="APPLICATION">
<font>
<Font name="Georgia Bold" size="26.0" />
</font>
</Text>
</children>
</AnchorPane>
</left>
<right>
<AnchorPane prefHeight="542.0" prefWidth="370.0" BorderPane.alignment="CENTER">
<children>
<TextField fx:id="usernameField" layoutX="115.0" layoutY="204.0" promptText="UserName" style="-fx-border-color: blue;" />
<PasswordField fx:id="passwordField" layoutX="115.0" layoutY="258.0" promptText="Password" style="-fx-border-color: blue;" />
<Button fx:id="loginButton" layoutX="122.0" layoutY="334.0" mnemonicParsing="false" onAction="#handleLoginButtonAction" style="-fx-background-color: black;" text="Login" textFill="#ac4e4e" />
<Text fontSmoothingType="LCD" layoutX="78.0" layoutY="150.0" strokeType="OUTSIDE" strokeWidth="0.0" text="USER LOGIN" wrappingWidth="141.39825439453125">
<font>
<Font name="Georgia Bold" size="19.0" />
</font>
</Text>
<FontAwesomeIcon glyphName="USER" layoutX="86.0" layoutY="221.0" size="16" />
<FontAwesomeIcon glyphName="KEY" layoutX="85.0" layoutY="275.0" size="16" />
<Button layoutX="117.0" layoutY="381.0" mnemonicParsing="false" onAction="#addUser2" style="-fx-background-color: black;" text="Register" textFill="#962a2a" />
</children>
</AnchorPane>
</right>
</BorderPane>