From: Seoyeon Kim Date: Thu, 10 Nov 2016 05:20:03 +0000 (-0800) Subject: Merge "[3.0] Fixed dali-demo keyboard focus and updated appearance" into tizen_3.0 X-Git-Tag: accepted/tizen/3.0/common/20161114.143225^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd8cf95f8cf758d377d7bd0431f9532e5c468536;hp=37b5eb80bfec3e424644e3ffc211734da83e118a;p=platform%2Fcore%2Fuifw%2Fdali-demo.git Merge "[3.0] Fixed dali-demo keyboard focus and updated appearance" into tizen_3.0 --- diff --git a/demo/dali-table-view.cpp b/demo/dali-table-view.cpp index d3e422e..4be3e18 100644 --- a/demo/dali-table-view.cpp +++ b/demo/dali-table-view.cpp @@ -260,6 +260,8 @@ void DaliTableView::Initialize( Application& application ) logo.SetAnchorPoint( AnchorPoint::TOP_CENTER ); logo.SetParentOrigin( Vector3( 0.5f, 0.1f, 0.5f ) ); logo.SetResizePolicy( ResizePolicy::USE_NATURAL_SIZE, Dimension::ALL_DIMENSIONS ); + // The logo should appear on top of everything. + logo.SetDrawMode( DrawMode::OVERLAY_2D ); // Show version in a popup when log is tapped mLogoTapDetector = TapGestureDetector::New(); @@ -292,8 +294,6 @@ void DaliTableView::Initialize( Application& application ) SetupBackground( bubbleContainer ); mRootActor.Add( logo ); - // We use depth index to bring the logo above the bubbles (as an alternative to creating actors). - logo.GetRendererAt( 0 ).SetProperty( Renderer::Property::DEPTH_INDEX, 30000 ); mRootActor.Add( bubbleContainer ); mRootActor.Add( mScrollView );