-
Notifications
You must be signed in to change notification settings - Fork 0
/
page02.fxml
73 lines (71 loc) · 3.88 KB
/
page02.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
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.TitledPane?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.text.Font?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="480.0" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="application.pg2controller">
<top>
<AnchorPane prefHeight="403.0" prefWidth="480.0" style="-fx-background-color: #b99fbf;" BorderPane.alignment="CENTER">
<children>
<TitledPane animated="false" prefHeight="33.0" prefWidth="155.0" style="-fx-background-color: #ee7385;" text="Admin:" textFill="#ad3523">
<font>
<Font name="Times New Roman Bold" size="18.0" />
</font>
</TitledPane>
<TitledPane animated="false" layoutY="33.0" prefHeight="33.0" prefWidth="154.0" style="-fx-background-color: #ee7385;" text="Food:" textFill="#ad3523">
<font>
<Font name="Times New Roman Bold" size="18.0" />
</font>
</TitledPane>
<TitledPane animated="false" layoutY="66.0" prefHeight="33.0" prefWidth="142.0" text="Add product:" textFill="#ad3523">
<font>
<Font name="Times New Roman Bold" size="18.0" />
</font>
</TitledPane>
<TextField fx:id="nameTF" layoutX="184.0" layoutY="138.0" />
<TextField fx:id="idTF" layoutX="184.0" layoutY="182.0" />
<TextField fx:id="quantityTF" layoutX="184.0" layoutY="222.0" />
<TextField fx:id="priceTF" layoutX="184.0" layoutY="262.0" />
<Label layoutX="48.0" layoutY="137.0" prefHeight="27.0" prefWidth="65.0" text="Name:" textFill="#ad3523">
<font>
<Font name="Times New Roman Bold" size="18.0" />
</font>
</Label>
<Label layoutX="48.0" layoutY="182.0" prefHeight="24.0" prefWidth="68.0" text="Id:" textFill="#ad3523">
<font>
<Font name="Times New Roman Bold" size="18.0" />
</font>
</Label>
<Label layoutX="48.0" layoutY="221.0" prefHeight="27.0" prefWidth="100.0" text="Quantity:" textFill="#ad3523">
<font>
<Font name="Times New Roman Bold" size="18.0" />
</font>
</Label>
<Label layoutX="48.0" layoutY="261.0" prefHeight="27.0" prefWidth="56.0" text="Price:" textFill="#ad3523">
<font>
<Font name="Times New Roman Bold" size="18.0" />
</font>
</Label>
<Label layoutX="12.0" layoutY="302.0" prefHeight="24.0" prefWidth="174.0" text="Expired within days:" textFill="#ad3523">
<font>
<Font name="Times New Roman Bold" size="18.0" />
</font>
</Label>
<TextField fx:id="expireTF" layoutX="184.0" layoutY="302.0" />
<Button layoutX="341.0" layoutY="346.0" mnemonicParsing="false" onAction="#add" prefHeight="40.0" prefWidth="103.0" text="Add" textFill="#082757">
<font>
<Font name="Times New Roman Bold Italic" size="18.0" />
</font>
</Button>
<Button layoutX="25.0" layoutY="340.0" mnemonicParsing="false" onAction="#confirm" prefHeight="40.0" prefWidth="103.0" text="Home" textFill="#082757">
<font>
<Font name="Times New Roman Bold Italic" size="18.0" />
</font>
</Button>
</children>
</AnchorPane>
</top>
</BorderPane>