Remove some public Setter/Getter APIs from Dali::Actor
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / hello-world.h
index 780ad3e..aa37687 100644 (file)
@@ -44,7 +44,7 @@ public:
     Stage stage = Stage::GetCurrent();
 
     mTextLabel = TextLabel::New( "Hello World" );
-    mTextLabel.SetAnchorPoint( AnchorPoint::TOP_LEFT );
+    mTextLabel.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::TOP_LEFT );
     stage.Add( mTextLabel );
 
     // Respond to a click anywhere on the stage