Skip to content

Commit

Permalink
Make dialog box expandable
Browse files Browse the repository at this point in the history
  • Loading branch information
wenhaogoh committed Sep 15, 2020
1 parent 869f94e commit 0dfd5ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions data/duke.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
T | 1 | eat | 2020-09-14
T | 0 | sleep
T | 1 | repeat | 2020-09-14
T | 0 | eat
T | 0 | sleep
T | 0 | repeat
2 changes: 1 addition & 1 deletion src/main/java/duke/Parser.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Parser {
private static final String FIND_SYNTAX_ERROR_MESSAGE = "Error! Note the syntax: find [keyword]";
private static final String DONE_SYNTAX_ERROR_MESSAGE = "Error! Note the syntax: done [task number]";
private static final String TODO_SYNTAX_ERROR_MESSAGE = "Error! Note the syntax: todo [description]";
private static final String DEADLINE_SYNTAX_ERROR_MESSAGE = "Error! Note the syntax:"
private static final String DEADLINE_SYNTAX_ERROR_MESSAGE = "Error! Note the syntax: "
+ "deadline [description] /by [date]";
private static final String EVENT_SYNTAX_ERROR_MESSAGE = "Error! Note the syntax: event [description] /at [date]";
private static final String DELETE_SYNTAX_ERROR_MESSAGE = "Error! Note the syntax: delete [task number]";
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/view/MainWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ImageView fx:id="background" fitHeight="554.0" fitWidth="400.0" pickOnBounds="true" preserveRatio="true" />
<ScrollPane fx:id="scrollPane" hbarPolicy="NEVER" hvalue="1.0" prefHeight="557.0" prefWidth="400.0" vvalue="1.0">
<content>
<VBox fx:id="dialogContainer" prefHeight="552.0" prefWidth="388.0" />
<VBox fx:id="dialogContainer" prefWidth="388.0" />
</content>
</ScrollPane>
</children>
Expand Down

0 comments on commit 0dfd5ad

Please sign in to comment.