Skip to content

Commit

Permalink
TrayLayout: Improve description in web UI
Browse files Browse the repository at this point in the history
Resolves: #727
  • Loading branch information
florianfesti committed Dec 7, 2024
1 parent a8f3fcb commit 44df0ae
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion boxes/generators/traylayout.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,15 @@ def __init__(self) -> None:
self.buildArgParser("h", "hi", "outside", "sx", "sy")
if self.UI == "web":
self.argparser.add_argument(
"--layout", action="store", type=str, default="\n")
"--layout", action="store", type=str, default="\n",
help="""* Set **sx** and **sy** before editing this!
* You can still change measurements afterwards
* You can replace the hyphens and vertical bars representing the walls
with a space character to remove the walls.
* You can replace the space characters representing the floor by a "X"
to remove the floor for this compartment.
* Resize text area if necessary.""")
self.description = ""
else:
self.argparser.add_argument(
"--input", action="store", type=argparse.FileType('r'),
Expand Down

0 comments on commit 44df0ae

Please sign in to comment.