From 07425eef8be91a139d94ec29294e4174b107eb77 Mon Sep 17 00:00:00 2001 From: Jaehyun Cho Date: Mon, 21 Mar 2022 17:44:48 +0900 Subject: [PATCH] [NUI] Fix FlexLayout size calculation issue caused by typo Fix typo in FlexLayout size calculation logic. This typo was caused by https://github.com/Samsung/TizenFX/pull/4032 --- src/Tizen.NUI/src/public/Layouting/FlexLayout.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tizen.NUI/src/public/Layouting/FlexLayout.cs b/src/Tizen.NUI/src/public/Layouting/FlexLayout.cs index 1096e1f..8564db6 100755 --- a/src/Tizen.NUI/src/public/Layouting/FlexLayout.cs +++ b/src/Tizen.NUI/src/public/Layouting/FlexLayout.cs @@ -672,8 +672,8 @@ namespace Tizen.NUI childLayout?.Measure(childWidthMeasureSpec, childHeightMeasureSpec); - measureSize.width = (childLayout == null) ? 0 : MeasuredWidth.Size.AsRoundedValue(); - measureSize.height = (childLayout == null) ? 0 : MeasuredHeight.Size.AsRoundedValue(); + measureSize.width = (childLayout == null) ? 0 : childLayout.MeasuredWidth.Size.AsRoundedValue(); + measureSize.height = (childLayout == null) ? 0 : childLayout.MeasuredHeight.Size.AsRoundedValue(); } void InsertChild(LayoutItem child) -- 2.7.4