-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSubmitAssignment.fxml
More file actions
46 lines (44 loc) · 1.72 KB
/
SubmitAssignment.fxml
File metadata and controls
46 lines (44 loc) · 1.72 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 javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<VBox alignment="CENTER" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="SubmitAssignmentController">
<children>
<Label text="SUBMIT ASSIGMENT:" textFill="#3829c3">
<font>
<Font name="Arial Bold" size="18.0" />
</font>
<VBox.margin>
<Insets bottom="20.0" />
</VBox.margin>
</Label>
<HBox alignment="CENTER">
<children>
<Label text="Upload File:">
<HBox.margin>
<Insets left="10.0" right="10.0" />
</HBox.margin>
</Label>
<Button fx:id="browseButton" mnemonicParsing="false" onAction="#uploadFile" text="Browse">
<HBox.margin>
<Insets left="10.0" right="10.0" />
</HBox.margin>
</Button>
</children>
<padding>
<Insets bottom="10.0" top="10.0" />
</padding>
</HBox>
<Label text="Comments:" />
<TextArea fx:id="comments" prefHeight="86.0" prefWidth="600.0" promptText="Add Comments:" />
<Button fx:id="submitButton" mnemonicParsing="false" onAction="#submitAssignment" text="SUBMIT">
<VBox.margin>
<Insets top="30.0" />
</VBox.margin>
</Button>
</children>
</VBox>