Further Setter/Getter public API removal from Dali::Actor
[platform/core/uifw/dali-demo.git] / examples / image-view / image-view-example.cpp
index 3ae1c73..8377159 100644 (file)
@@ -122,7 +122,7 @@ class ImageViewController: public ConnectionTracker
     Toolkit::TextLabel instructions = Toolkit::TextLabel::New( EXAMPLE_INSTRUCTIONS );
     instructions.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::WIDTH );
     instructions.SetProperty( Actor::Property::PARENT_ORIGIN,ParentOrigin::BOTTOM_CENTER);
-    instructions.SetY(-50.0f);
+    instructions.SetProperty( Actor::Property::POSITION_Y, -50.0f);
     instructions.SetProperty( Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL, true  );
     instructions.SetProperty( Toolkit::TextLabel::Property::AUTO_SCROLL_LOOP_COUNT, 10  );
     mContentLayer.Add(instructions);