forked from nus-cs2103-AY2223S1/tp
/
MainWindow.fxml
89 lines (80 loc) · 3.87 KB
/
MainWindow.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8"?>
<?import java.net.URL?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.Scene?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.stage.Stage?>
<fx:root minWidth="1200.0" onCloseRequest="#handleExit" title="Swift+" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1">
<icons>
<Image url="@/images/swift.png" />
</icons>
<scene>
<Scene>
<stylesheets>
<URL value="@DarkTheme.css" />
<URL value="@Extensions.css" />
</stylesheets>
<VBox prefHeight="66.0" prefWidth="1200.0">
<HBox styleClass="menu-bar">
<Button fx:id="contactsButton" mnemonicParsing="false" onAction="#showContactTab" text="CONTACTS" />
<Button fx:id="tasksButton" mnemonicParsing="false" onAction="#showTaskTab" text="TASKS" />
<Button fx:id="helpButton" mnemonicParsing="false" onAction="#handleHelp" text="HELP" />
<Button fx:id="exitButton" mnemonicParsing="false" onAction="#handleExit" text="EXIT" />
</HBox>
<StackPane fx:id="commandBoxPlaceholder" styleClass="pane-with-border" VBox.vgrow="NEVER">
<padding>
<Insets bottom="10.0" left="25.0" right="25.0" top="10.0" />
</padding>
</StackPane>
<VBox VBox.vgrow="ALWAYS">
<HBox VBox.vgrow="ALWAYS">
<HBox minWidth="850.0" prefHeight="22.0" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS">
<VBox fx:id="list" prefHeight="22.0" styleClass="pane-with-border" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS">
<padding>
<Insets bottom="10" left="10" right="10" top="10" />
</padding>
<StackPane fx:id="listPanelPlaceholder" minWidth="600.0" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS">
<padding>
<Insets left="14.0" right="15.0" />
</padding></StackPane>
</VBox>
</HBox>
<HBox minWidth="300.0" prefHeight="22.0" prefWidth="282.0" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS">
<VBox style="-fx-background-color: #FAFAFA;" styleClass="right-panel-vbox" HBox.hgrow="ALWAYS" VBox.vgrow="ALWAYS">
<Pane minHeight="25.0" prefHeight="25.0" prefWidth="400.0" styleClass="result-display-pane">
<children>
<Label prefHeight="25.0" styleClass="result_heading" text="COMMAND RESULTS">
<padding>
<Insets left="12.0" top="10.0" />
</padding>
<opaqueInsets>
<Insets />
</opaqueInsets>
</Label>
</children>
</Pane>
<StackPane fx:id="resultDisplayPlaceholder" styleClass="right-pane-with-border" VBox.vgrow="ALWAYS">
<padding>
<Insets bottom="5.0" left="10.0" right="25.0" top="5.0" />
</padding>
</StackPane>
<StackPane fx:id="personTaskListPanelPlaceholder" styleClass="pane-with-border" VBox.vgrow="ALWAYS">
<padding>
<Insets bottom="5.0" left="10.0" right="25.0" top="5.0" />
</padding>
</StackPane>
</VBox>
</HBox>
</HBox>
</VBox>
<StackPane fx:id="statusbarPlaceholder" VBox.vgrow="NEVER" />
</VBox>
</Scene>
</scene>
</fx:root>