Skip to content

Commit 7804e61

Browse files
author
Tom De Smedt
committed
small fix
1 parent 24b2462 commit 7804e61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/10-gui/05-layout.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
panel3 = Panel("Panel 3", x=30, y=30)
4545
panel3.append(
4646
Row([ # Field will be 200 wide, the Row column width setting.
47-
Field(value="", hint="message", height=70, id="field_msg2", wrap=True),
47+
Field(value="", hint="message", height=70, id="field_msg3", wrap=True),
4848
("Actions:", Rows([
4949
Button("Send"), # However, buttons will be 100 wide,
5050
Button("Save") # because their Rows parent says so.
@@ -60,7 +60,7 @@
6060
# The field has its own dimensions (width=300 and height=50).
6161
panel4 = Panel("Panel 4", x=400, y=30)
6262
panel4.extend([
63-
Field(value="", hint="message", y=40, width=300, height=50, id="field_msg3", wrap=True, reserved=[]),
63+
Field(value="", hint="message", y=40, width=300, height=50, id="field_msg4", wrap=True, reserved=[]),
6464
Button("Send")
6565
])
6666
panel4.pack()
@@ -75,7 +75,7 @@
7575
# as well as the position of all controls:
7676
panel5 = Panel("Panel 5", x=500, y=200, width=200, height=150)
7777
panel5.extend([
78-
Field(value="", hint="message", x=10, y=60, width=180, height=50, id="field_msg3", wrap=True),
78+
Field(value="", hint="message", x=10, y=60, width=180, height=50, id="field_msg5", wrap=True),
7979
Button("Send", x=10, y=20, width=180)
8080
])
8181

0 commit comments

Comments
 (0)