Revert "[NUI] NUI Integration (#361)" (#376)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Wed, 8 Aug 2018 06:02:07 +0000 (15:02 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 8 Aug 2018 06:02:07 +0000 (15:02 +0900)
This reverts commit 46a9f168184028f9bdff0fec79006b39f3cb1e88.

src/Tizen.NUI/src/public/BaseComponents/View.cs

index fabd2b6..ba9bd33 100755 (executable)
@@ -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();
             }