[NUI] Fix VD CSFS Crash issue (#541)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Wed, 7 Nov 2018 07:44:33 +0000 (16:44 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 7 Nov 2018 07:44:33 +0000 (16:44 +0900)
revert All Views in a tree can be layouts patch (dalihub)

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/View.cs

index 920a9d5..48b439f 100755 (executable)
@@ -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.