Further Setter/Getter public API removal from Dali::Actor
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / scroll-view.h
index 981e4da..5fa445f 100644 (file)
    @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).