Trigger relayout in SetSizeScalePolicy 89/209489/1
authorHeeyong Song <heeyong.song@samsung.com>
Mon, 8 Jul 2019 08:58:30 +0000 (17:58 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 8 Jul 2019 08:58:30 +0000 (17:58 +0900)
Change-Id: I9a2cae801d118f7e1f168a93e51a0157cca81b26

dali/internal/event/actors/actor-impl.cpp

index f4590fc..324ff45 100644 (file)
@@ -1314,6 +1314,9 @@ void Actor::SetSizeScalePolicy( SizeScalePolicy::Type policy )
   EnsureRelayoutData();
 
   mRelayoutData->sizeSetPolicy = policy;
+
+  // Trigger relayout on this control
+  RelayoutRequest();
 }
 
 SizeScalePolicy::Type Actor::GetSizeScalePolicy() const