From: Agnelo Vaz Date: Wed, 14 Dec 2016 17:58:26 +0000 (+0000) Subject: Change sibbling order of buttons in svg example X-Git-Tag: dali_1.2.19~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-demo.git;a=commitdiff_plain;h=a7d713b0bad764d7af088f59b4833be6c95cca10 Change sibbling order of buttons in svg example Change-Id: I93398c5ff1f7dcdd4820cf90ebc11e81fee0fa05 --- diff --git a/examples/image-view-svg/image-view-svg-example.cpp b/examples/image-view-svg/image-view-svg-example.cpp index 859933c..5617a73 100644 --- a/examples/image-view-svg/image-view-svg-example.cpp +++ b/examples/image-view-svg/image-view-svg-example.cpp @@ -16,6 +16,7 @@ */ #include +#include #include using namespace Dali; @@ -86,6 +87,7 @@ public: changeButton.SetParentOrigin( ParentOrigin::TOP_RIGHT ); stage.Add( changeButton ); changeButton.ClickedSignal().Connect( this, &ImageSvgController::OnChangeButtonClicked ); + changeButton.SetProperty( DevelActor::Property::SIBLING_ORDER, 1 ); // Push button, for resetting the actor size and position Toolkit::PushButton resetButton = Toolkit::PushButton::New(); @@ -94,6 +96,7 @@ public: resetButton.SetParentOrigin( ParentOrigin::TOP_LEFT ); stage.Add( resetButton ); resetButton.ClickedSignal().Connect( this, &ImageSvgController::OnResetButtonClicked ); + resetButton.SetProperty( DevelActor::Property::SIBLING_ORDER, 1 ); // Create and put imageViews to stage for( unsigned int i=0; i<4u; i++)