From: huiyueun <35286162+huiyueun@users.noreply.github.com> Date: Wed, 7 Nov 2018 07:44:33 +0000 (+0900) Subject: [NUI] Fix VD CSFS Crash issue (#541) X-Git-Tag: 5.5_M2~416 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5712312d812547f60d5a87365b97e801e1d9a12;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Fix VD CSFS Crash issue (#541) revert All Views in a tree can be layouts patch (dalihub) Signed-off-by: huiyu.eun --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index 920a9d5..48b439f 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -1302,7 +1302,7 @@ namespace Tizen.NUI.BaseComponents // Only give children a layout if their parent is an explicit container or a pure View. // Pure View meaning not derived from a View, e.g a Legacy container. // layoutSet flag is true when the View became a layout using the SetLayout API - if ((true == layoutSet || GetType() == typeof(View)) && null == child.Layout) + if (true == layoutSet && null == child.Layout) { Log.Info("NUI", "Add child Parent[" + Name + "] Layout set\n"); // If child is a View or explicitly set to require layouting then set child as a LayoutGroup.