forked from AY1920S1-CS2103T-T09-4/main
-
Notifications
You must be signed in to change notification settings - Fork 1
/
OrderListCard.fxml
41 lines (39 loc) · 2.01 KB
/
OrderListCard.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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.FlowPane?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Region?>
<?import javafx.scene.layout.VBox?>
<HBox id="cardPane" fx:id="cardPane" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<GridPane HBox.hgrow="ALWAYS">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10" prefWidth="150" />
</columnConstraints>
<VBox alignment="CENTER_LEFT" minHeight="105" GridPane.columnIndex="0">
<padding>
<Insets top="5" right="5" bottom="5" left="15" />
</padding>
<HBox spacing="5" alignment="CENTER_LEFT">
<Label fx:id="id" styleClass="cell_big_label">
<minWidth>
<!-- Ensures that the label text is never truncated -->
<Region fx:constant="USE_PREF_SIZE" />
</minWidth>
</Label>
<Label fx:id="customerName" styleClass="cell_big_label" />
</HBox>
<FlowPane fx:id="tags" />
<Label fx:id="orderId" styleClass="cell_small_label" text="\$orderId" />
<Label fx:id="contactNumber" styleClass="cell_small_label" />
<Label fx:id="phoneId" styleClass="cell_small_label" text="\$phoneId" />
<Label fx:id="phoneName" styleClass="cell_small_label" text="\$phoneName" />
<Label fx:id="phoneColour" styleClass="cell_small_label" text="\$phoneColour" />
<Label fx:id="phoneCapacity" styleClass="cell_small_label" text="\$phoneCapacity" />
<Label fx:id="orderPrice" styleClass="cell_small_label" text="\$orderPrice" />
<Label fx:id="orderStatus" styleClass="cell_small_label" text="\$orderStatus" />
</VBox>
</GridPane>
</HBox>