From 42c54bf6e6314585d98f51592f11fbb577968848 Mon Sep 17 00:00:00 2001 From: Cherweijie <44356103+Cherweijie@users.noreply.github.com> Date: Sat, 11 Apr 2020 23:21:10 +0800 Subject: [PATCH] Fix help window sizing and message --- src/main/java/seedu/delino/ui/HelpWindow.java | 10 +++---- src/main/resources/view/HelpWindow.fxml | 30 ++++++++----------- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/src/main/java/seedu/delino/ui/HelpWindow.java b/src/main/java/seedu/delino/ui/HelpWindow.java index cba6ab61922..989987cad30 100644 --- a/src/main/java/seedu/delino/ui/HelpWindow.java +++ b/src/main/java/seedu/delino/ui/HelpWindow.java @@ -30,7 +30,7 @@ public class HelpWindow extends UiPart { + " Format: insert TRANSACTION_ID NAME ADDRESS PHONE_NUMBER DELIVERY_TIMESTAMP \n" + " EMAIL WAREHOUSE_ADDRESS CASH_ON_DELIVERY\n" + " Eg. insert tid/9876543210 n/John Doe a/Blk 572 Hougang st 51 #10-33 S530572" - + " p/98766789 \n dts/2020-02-20 1300 e/johndoe@example.com w/Yishun cod/$4 \n" + + " p/98766789 \n dts/2020-05-20 1300 e/johndoe@example.com w/Yishun cod/$4 \n" + "\n 2. Clear all orders/returns while orders are listed \n" + " Format: clear FLAG INDEX \n" @@ -75,10 +75,10 @@ public class HelpWindow extends UiPart { + "\n 11. Create a return order and adds it into the list of returns\n" + " Format: return TRANSACTION_ID NAME ADDRESS PHONE_NUMBER RETURN_TIMESTAMP WAREHOUSE_LOCATION \n" + " [COMMENTS] [ITEM_TYPE] \n" - + " OR return TRANSACTION_ID \n" - + " Eg. return tid/ac17s2a n/Bobby Tan a/123 Delta Road #03-333 Singapore 123456\n" - + " p/91230456 rts/12-12-2020 1300 w/Jurong Warehouse c/NIL type/glass \n" - + " OR return tid/ac123d" + + " OR return TRANSACTION_ID RETURN_TIME_STAMP \n" + + " Eg. return tid/ac17s2a n/Bobby Tan a/123 Delta Road #03-333 Singapore S123456\n" + + " p/91230456 rts/2020-12-12 1300 w/Jurong Warehouse c/NIL type/glass \n" + + " OR return tid/ac123d rts/2020-12-12 1300 \n" + "\n 12. View orders at a specified Singapore postal sector " + "(i.e. the first two digits of the postal code)\n" diff --git a/src/main/resources/view/HelpWindow.fxml b/src/main/resources/view/HelpWindow.fxml index a1dadbcdfda..59c0f0e8a2f 100644 --- a/src/main/resources/view/HelpWindow.fxml +++ b/src/main/resources/view/HelpWindow.fxml @@ -1,25 +1,23 @@ - - - - - - - - - - - - + + + + + + + + + + - + - + @@ -31,9 +29,7 @@ -