From dbf8e6e66ea39c69812df9033234f2cc779bed50 Mon Sep 17 00:00:00 2001 From: huiyueun <35286162+huiyueun@users.noreply.github.com> Date: Wed, 8 Aug 2018 15:02:07 +0900 Subject: [PATCH] Revert "[NUI] NUI Integration (#361)" (#376) This reverts commit 46a9f168184028f9bdff0fec79006b39f3cb1e88. --- src/Tizen.NUI/src/public/BaseComponents/View.cs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index fabd2b6..ba9bd33 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -3188,8 +3188,6 @@ namespace Tizen.NUI.BaseComponents set { SetValue(Size2DProperty, value); - SetProperty(LayoutItemWrapper.ChildProperty.WIDTH_SPECIFICATION, new Tizen.NUI.PropertyValue(value.Width)); - SetProperty(LayoutItemWrapper.ChildProperty.HEIGHT_SPECIFICATION, new Tizen.NUI.PropertyValue(value.Height)); NotifyPropertyChanged(); } } @@ -5156,13 +5154,6 @@ namespace Tizen.NUI.BaseComponents } set { - if (Layout != null) - { - // Note: it only works if minimum size is >= than natural size. - // To force the size it should be done through the width&height spec or Size2D. - Layout.MinimumWidth = new Tizen.NUI.LayoutLength(value.Width); - Layout.MinimumHeight = new Tizen.NUI.LayoutLength(value.Height); - } SetValue(MinimumSizeProperty, value); NotifyPropertyChanged(); } @@ -5180,8 +5171,6 @@ namespace Tizen.NUI.BaseComponents } set { - // We don't have Layout.Maximum(Width|Height) so we cannot apply it to layout. - // MATCH_PARENT spec + parent container size can be used to limit SetValue(MaximumSizeProperty, value); NotifyPropertyChanged(); } -- 2.7.4