X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Fimage-view%2Fimage-view-example.cpp;h=837715996b9c331c68c076c3f2b7892fa61eb193;hb=2e182925204bf3ef9f2a36cbfbf998e79fbafaf5;hp=3ae1c73679d586cbbb3d82816dfd0bcb9006f3e4;hpb=80cdb8fb6a112954c040613d61417b12185dc5bd;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/image-view/image-view-example.cpp b/examples/image-view/image-view-example.cpp index 3ae1c73..8377159 100644 --- a/examples/image-view/image-view-example.cpp +++ b/examples/image-view/image-view-example.cpp @@ -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);