summaryrefslogtreecommitdiff
path: root/tests/scene/test_gui.cpp
diff options
context:
space:
mode:
authorNathan Franke <natfra@pm.me>2021-11-24 20:58:47 -0600
committerNathan Franke <natfra@pm.me>2021-12-09 01:38:46 -0600
commit41a20171eb81a7850dd96ec31da4b40c619538a2 (patch)
tree64df686faeeca6068ba43167bf07fe8b3823e417 /tests/scene/test_gui.cpp
parentf1e3c87244f18ab1a507b6e3637c34b2d49c1dc6 (diff)
align to horizontal_alignment, valign to vertical_alignment, related
Diffstat (limited to 'tests/scene/test_gui.cpp')
-rw-r--r--tests/scene/test_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scene/test_gui.cpp b/tests/scene/test_gui.cpp
index 5bd9390cb7..086943838c 100644
--- a/tests/scene/test_gui.cpp
+++ b/tests/scene/test_gui.cpp
@@ -69,7 +69,7 @@ public:
label->set_position(Point2(80, 90));
label->set_size(Point2(170, 80));
- label->set_align(Label::ALIGN_FILL);
+ label->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_FILL);
label->set_text("There was once upon a time a beautiful unicorn that loved to play with little girls...");
frame->add_child(label);