From: taeyoon0.lee Date: Thu, 7 Sep 2017 13:49:14 +0000 (+0900) Subject: Set false in inherit layout direction when SetProperty( LAYOUT_DIRECTION, ... ) is... X-Git-Tag: dali_1.2.56~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F60%2F148360%2F1;p=platform%2Fcore%2Fuifw%2Fdali-core.git Set false in inherit layout direction when SetProperty( LAYOUT_DIRECTION, ... ) is called - If app developer SetProperty( LAYOUT_DIRECTION, ... ), INHERIT_LAYOUT_DIRECTION should be always false. Change-Id: Ifc1855e667e188c3d8dd468aa188c7acac268733 --- diff --git a/dali/internal/event/actors/actor-impl.cpp b/dali/internal/event/actors/actor-impl.cpp index f7df4d4..e1675cf 100644 --- a/dali/internal/event/actors/actor-impl.cpp +++ b/dali/internal/event/actors/actor-impl.cpp @@ -2887,10 +2887,10 @@ void Actor::SetDefaultProperty( Property::Index index, const Property::Value& pr case Dali::DevelActor::Property::LAYOUT_DIRECTION: { Dali::DevelActor::LayoutDirection::Type direction = mLayoutDirection; + mInheritLayoutDirection = false; if( Scripting::GetEnumerationProperty< DevelActor::LayoutDirection::Type >( property, LAYOUT_DIRECTION_TABLE, LAYOUT_DIRECTION_TABLE_COUNT, direction ) ) { - mInheritLayoutDirection = false; InheritLayoutDirectionRecursively( this, direction, true ); } break;