- textContainer.SetAnchorPoint(AnchorPoint::TOP_LEFT);
- AddText(textContainer, "Click to add callback", 1 );
- AddText(textContainer, "Press 1 to add callback", 2 );
- AddText(textContainer, "Press 2 to clear callback", 3 );
- AddText(textContainer, "Press 3 to toggle keep alive", 4 );
-
+ textContainer.SetProperty(Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT);
+ AddText(textContainer, "Click to add callback", 1);
+ AddText(textContainer, "Press 1 to add callback", 2);
+ AddText(textContainer, "Press 2 to clear callback", 3);
+ AddText(textContainer, "Press 3 to toggle keep alive", 4);