From 41a20171eb81a7850dd96ec31da4b40c619538a2 Mon Sep 17 00:00:00 2001 From: Nathan Franke Date: Wed, 24 Nov 2021 20:58:47 -0600 Subject: align to horizontal_alignment, valign to vertical_alignment, related --- tests/scene/test_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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); -- cgit v1.2.3