X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fscroll-view.h;h=5fa445f0e93c34a1132c7f5349dd0bebc3525887;hb=ad110f27c01af7e617df158891eef5cf60bf22e6;hp=981e4dab903f1b89c78a7fb265cc49909c953ebd;hpb=46e8848bda5e3287a80ee9ce020166ad55a52ec0;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/docs/content/programming-guide/scroll-view.h b/docs/content/programming-guide/scroll-view.h index 981e4da..5fa445f 100644 --- a/docs/content/programming-guide/scroll-view.h +++ b/docs/content/programming-guide/scroll-view.h @@ -26,13 +26,13 @@ @code Stage stage = Dali::Stage::GetCurrent(); Size size = stage.GetSize(); - myScrollView.SetSize( size ); + myScrollView.SetProperty( Actor::Property::SIZE, size ); @endcode Add Actors to this ScrollView @code - ImageView imageActor = Toolkit::ImageView::New(DALI_IMAGE_DIR "button-background.png"); - myScrollView.Add( imageActor ); + Toolkit::ImageView imageView = Toolkit::ImageView::New(DALI_IMAGE_DIR "button-background.png"); + myScrollView.Add( imageView ); @endcode The ScrollView contents are now draggable by the user using touch (panning gestures).