- textContainer.SetAnchorPoint(AnchorPoint::TOP_LEFT);
- DevelControl::SetLayout( textContainer, vbox );
- AddText(textContainer, "Click to add callback");
- AddText(textContainer, "Press 1 to add callback");
- AddText(textContainer, "Press 2 to clear callback");
- AddText(textContainer, "Press 3 to toggle keep alive");
-
- auto vbox2 = LinearLayout::New();
- vbox2.SetOrientation(LinearLayout::Orientation::VERTICAL);
- vbox2.SetAlignment( LinearLayout::Alignment::BOTTOM | LinearLayout::Alignment::CENTER_HORIZONTAL );
- auto textContainer2 = Control::New();
- textContainer2.SetAnchorPoint(AnchorPoint::TOP_LEFT);
- DevelControl::SetLayout( textContainer2, vbox2 );
+ 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 );
+
+