forked from nus-cs2103-AY1920S1/addressbook-level3
-
Notifications
You must be signed in to change notification settings - Fork 5
/
CommandBox.fxml
35 lines (33 loc) · 1.43 KB
/
CommandBox.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
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<StackPane prefHeight="0.0" prefWidth="1077.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1">
<children>
<VBox prefHeight="0.0" prefWidth="1077.0">
<children>
<HBox prefHeight="30.0" prefWidth="1077.0">
<children>
<VBox prefHeight="100.0" prefWidth="234.0">
<children>
<Label text="Mode" textFill="WHITE" />
<ComboBox fx:id="commandComboField" prefWidth="150.0" promptText="load" />
</children>
</VBox>
<TextField fx:id="commandTextField" onAction="#handleCommandEntered" prefHeight="40.0" prefWidth="1017.0" promptText="Enter command here..." text="" HBox.hgrow="ALWAYS" />
</children>
</HBox>
<MenuBar fx:id="commandMenuField" prefHeight="3.0" prefWidth="1077.0">
<menus>
<Menu mnemonicParsing="false" text="Help" />
</menus>
</MenuBar>
</children>
</VBox>
</children>
</StackPane>