forked from nus-cs2103-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from Jayne1010/NoteWindowUI
Update UI for note window
- Loading branch information
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.label-notes { | ||
-fx-font-weight: bold; | ||
-fx-font-size: 15pt; | ||
} | ||
|
||
.text-area-notes { | ||
-fx-font-family: 'Consolas'; | ||
-fx-font-size: 12pt; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.Label?> | ||
<?import javafx.scene.control.TextArea?> | ||
<?import javafx.scene.layout.StackPane?> | ||
<?import javafx.scene.layout.VBox?> | ||
|
||
<StackPane fx:id="placeHolder" styleClass="pane-with-border" xmlns="http://javafx.com/javafx/17" | ||
xmlns:fx="http://javafx.com/fxml/1"> | ||
<TextArea fx:id="noteDisplay" editable="false"/> | ||
xmlns:fx="http://javafx.com/fxml/1" | ||
stylesheets="@NoteDisplay.css"> | ||
<VBox spacing="3" style="-fx-padding: 10 30 50 20;"> | ||
<!-- Using Label for "Notes" with a background color --> | ||
<Label text="Notes:" styleClass="label-notes"/> | ||
<TextArea fx:id="noteDisplay" editable="false" styleClass="text-area-notes"/> | ||
</VBox> | ||
</StackPane> |