Skip to content

Commit dad7007

Browse files
authored
UI: fix anchor_layout example (#1415)
1 parent c0f4e06 commit dad7007

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arcade/gui/examples/anchor_layout.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,38 +19,38 @@ def __init__(self):
1919
anchor = self.manager.add(UIAnchorLayout())
2020

2121
anchor.add(
22-
child=UIDummy(color=arcade.color.RED),
22+
child=UIDummy(),
2323
anchor_x="center_x",
2424
anchor_y="top",
2525
)
2626

2727
anchor.add(
28-
child=UIDummy(color=arcade.color.BLUE),
28+
child=UIDummy(),
2929
anchor_x="right",
3030
anchor_y="center_y",
3131
)
3232

3333
anchor.add(
34-
child=UIDummy(color=arcade.color.GREEN),
34+
child=UIDummy(),
3535
anchor_x="center_x",
3636
anchor_y="center_y",
3737
)
3838

3939
anchor.add(
40-
child=UIDummy(color=arcade.color.YELLOW),
40+
child=UIDummy(),
4141
anchor_x="left",
4242
anchor_y="bottom",
4343
)
4444

4545
anchor.add(
46-
child=UIDummy(color=arcade.color.ORANGE),
46+
child=UIDummy(),
4747
anchor_x="left",
4848
align_x=20,
4949
anchor_y="center_y",
5050
)
5151

5252
anchor.add(
53-
child=UIDummy(color=arcade.color.ORANGE),
53+
child=UIDummy(),
5454
anchor_x="right",
5555
align_x=-40,
5656
anchor_y="bottom",

0 commit comments

Comments
 (0)