[NUI] Fix TV Gallery crash issue (#1079)
authorhuiyueun <35286162+huiyueun@users.noreply.github.com>
Tue, 15 Oct 2019 10:24:08 +0000 (19:24 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 15 Oct 2019 10:24:08 +0000 (19:24 +0900)
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/View.cs

index b018716..1f3f3b0 100755 (executable)
@@ -3538,7 +3538,8 @@ namespace Tizen.NUI.BaseComponents
                 if (_widthPolicy >= 0)
                 {
                     _measureSpecificationWidth = new MeasureSpecification( new LayoutLength(value), MeasureSpecification.ModeType.Exactly );
-                    Tizen.NUI.Object.SetProperty(swigCPtr, View.Property.SIZE_WIDTH, new Tizen.NUI.PropertyValue(value));
+                    Size2D.Width = _widthPolicy;
+
                 }
                 _layout?.RequestLayout();
             }
@@ -3561,7 +3562,8 @@ namespace Tizen.NUI.BaseComponents
                 if (_heightPolicy >= 0)
                 {
                     _measureSpecificationHeight = new MeasureSpecification( new LayoutLength(value), MeasureSpecification.ModeType.Exactly );
-                    Tizen.NUI.Object.SetProperty(swigCPtr, View.Property.SIZE_HEIGHT, new Tizen.NUI.PropertyValue(value));
+                    Size2D.Height = _heightPolicy;
+
                 }
                _layout?.RequestLayout();
             }