Skip to content

Commit 867fa5e

Browse files
huiyueundongsug-song
authored andcommitted
[NUI] Fix TV Gallery crash issue (Samsung#1079)
Signed-off-by: huiyu.eun <[email protected]>
1 parent 2e4f2bf commit 867fa5e

File tree

1 file changed

+4
-2
lines changed
  • src/Tizen.NUI/src/public/BaseComponents

1 file changed

+4
-2
lines changed

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

+4-2
Original file line numberDiff line numberDiff line change
@@ -3538,7 +3538,8 @@ public int WidthSpecification
35383538
if (_widthPolicy >= 0)
35393539
{
35403540
_measureSpecificationWidth = new MeasureSpecification( new LayoutLength(value), MeasureSpecification.ModeType.Exactly );
3541-
Tizen.NUI.Object.SetProperty(swigCPtr, View.Property.SIZE_WIDTH, new Tizen.NUI.PropertyValue(value));
3541+
Size2D.Width = _widthPolicy;
3542+
35423543
}
35433544
_layout?.RequestLayout();
35443545
}
@@ -3561,7 +3562,8 @@ public int HeightSpecification
35613562
if (_heightPolicy >= 0)
35623563
{
35633564
_measureSpecificationHeight = new MeasureSpecification( new LayoutLength(value), MeasureSpecification.ModeType.Exactly );
3564-
Tizen.NUI.Object.SetProperty(swigCPtr, View.Property.SIZE_HEIGHT, new Tizen.NUI.PropertyValue(value));
3565+
Size2D.Height = _heightPolicy;
3566+
35653567
}
35663568
_layout?.RequestLayout();
35673569
}

0 commit comments

Comments
 (0)