Skip to content

Commit

Permalink
Merge pull request AY2425S1-CS2103T-T12-4#247 from flyingsalsa/master
Browse files Browse the repository at this point in the history
Update UI
  • Loading branch information
flyingsalsa authored Nov 7, 2024
2 parents 737b915 + 830c993 commit 48cdab3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/ui/HelpWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ protected void updateItem(String item, boolean empty) {
new HelpCommand("UnFavGame", "`unfavgame INDEX g/GAME`\n"),
new HelpCommand("Find", "`find KEYWORD [MORE_KEYWORDS]`\n"),
new HelpCommand("FindTime", "`findtime TIME-TIME [TIME-TIME]`\n"),
new HelpCommand("FindGame", "`findgame g/GAME'\n"),
new HelpCommand("FindGame", "`findgame KEYWORD [MORE_KEYWORDS]'\n"),
new HelpCommand("Delete", "`delete INDEX`\n"),
new HelpCommand("Clear", "`clear`"),
new HelpCommand("Undo", "`undo`"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ private String getDetailForCommand(String command) {
case "favgame" -> "favgame INDEX g/GAME";
case "unfavgame" -> "unfavgame INDEX g/GAME";
case "find" -> "find KEYWORD [MORE_KEYWORDS] - Finds persons whose names contain any of the keywords";
case "findtime" -> "find TIME-TIME [TIME-TIME]";
case "findgame" -> "findgame g/GAME";
case "findtime" -> "find TIME-TIME [TIME-TIME] - Finds persons whose preferred time contains any TIMES";
case "findgame" -> "findgame KEYWORD [MORE_KEYWORDS] - Finds persons whose games contain any of the keywords";
case "delete" -> "delete INDEX - Deletes the specified person (e.g., delete 3)";
case "clear" -> "clear - Clears all entries from the gamer address book";
case "undo" -> "undo - Undoes the previous command (aside from save and load)";
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/view/HelpWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.stage.Stage?>

<fx:root resizable="true" title="Help" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
<fx:root minWidth="900" minHeight="700" resizable="true" title="Help" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1">
<icons>
<Image url="@/images/help_icon.png" />
</icons>
Expand All @@ -20,8 +20,8 @@
<stylesheets>
<URL value="@HelpWindow.css" />
</stylesheets>
<VBox prefWidth="900.0" prefHeight="610">
<HBox alignment="TOP_RIGHT" fx:id="helpMessageContainer">
<VBox prefWidth="900.0" minHeight="650">
<HBox alignment="CENTER" fx:id="helpMessageContainer">
<children>
<Label fx:id="helpMessage" text="Label">
<HBox.margin>
Expand Down

0 comments on commit 48cdab3

Please sign in to comment.