X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=examples%2Fimage-policies%2Fimage-policies-example.cpp;h=8860ef00371ef5eca38c7c0e6027b2f5cc203a62;hb=2e182925204bf3ef9f2a36cbfbf998e79fbafaf5;hp=2f8c93ab71409b7668feb846e0260ab46f4fa198;hpb=80cdb8fb6a112954c040613d61417b12185dc5bd;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/examples/image-policies/image-policies-example.cpp b/examples/image-policies/image-policies-example.cpp index 2f8c93a..8860ef0 100644 --- a/examples/image-policies/image-policies-example.cpp +++ b/examples/image-policies/image-policies-example.cpp @@ -416,8 +416,8 @@ class ImagePolicies: public ConnectionTracker mNextButton.SetProperty( Button::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL, LOADING_IMAGE ); mNextButton.SetProperty( Button::Property::DISABLED_SELECTED_BACKGROUND_VISUAL, NEXT_BUTTON_DISABLED_IMAGE ); mNextButton.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::BOTTOM_CENTER ); - mNextButton.SetY( -50.0f ); - mNextButton.SetSize( 100.0f, 100.0f ); + mNextButton.SetProperty( Actor::Property::POSITION_Y, -50.0f ); + mNextButton.SetProperty( Actor::Property::SIZE, Vector2( 100.0f, 100.0f ) ); mNextButton.ClickedSignal().Connect( this, &ImagePolicies::ChangeImageClicked ); mTable.AddChild( mNextButton, TableView::CellPosition( TableRowPlacement::NEXT_BUTTON, 0 ) ); mTable.SetCellPadding( Vector2( 2.0f, 2.0f ) );