X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=demo%2Fdali-table-view.cpp;h=4be3e18f3573b0331e3c9b6f2c26c74267253299;hb=fd8cf95f8cf758d377d7bd0431f9532e5c468536;hp=d3e422e336a8ae77e4afbeb91b8c6307549ab167;hpb=37b5eb80bfec3e424644e3ffc211734da83e118a;p=platform%2Fcore%2Fuifw%2Fdali-demo.git 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 );