[NUI][NUI.Components] Fix SVACE issue in CollectionView.
authorguowei.wang <guowei.wang@samsung.com>
Tue, 8 Nov 2022 07:33:49 +0000 (15:33 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 10 Nov 2022 01:25:11 +0000 (10:25 +0900)
src/Tizen.NUI.Components/Controls/RecyclerView/CollectionView.cs

index 6fedd70..95c41dc 100755 (executable)
@@ -1360,11 +1360,11 @@ namespace Tizen.NUI.Components
 
             if (ScrollingDirection == Direction.Horizontal)
             {
-                ContentContainer.SizeWidth = ItemsLayouter.CalculateLayoutOrientationSize();
+                ContentContainer.SizeWidth = (float)ItemsLayouter?.CalculateLayoutOrientationSize();
             }
             else
             {
-                ContentContainer.SizeHeight = ItemsLayouter.CalculateLayoutOrientationSize();
+                ContentContainer.SizeHeight = (float)ItemsLayouter?.CalculateLayoutOrientationSize();
             }
         }