[NUI] Fix size calculation for TextLabel with Margin in RelativeLayout
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 29 Mar 2023 11:04:19 +0000 (20:04 +0900)
committerJaehyun Cho <jaehyun0cho@gmail.com>
Thu, 30 Mar 2023 01:59:50 +0000 (10:59 +0900)
commit1f7b107502a395a6578d4f763b055fa366a02342
tree5c789bbd179e23328a7a760405a77a9cf8f84e6a
parentaeca9d57368d75bd57474850ca7b10b485d901ad
[NUI] Fix size calculation for TextLabel with Margin in RelativeLayout

Previously, RelativeLayout calculated the size for TextLabel with Margin
incorrectly by calling MeasureChildWithMargins().
Because TextLabel size was decreased by its Margin size incorrectly.

Now, RelativeLayout calculates the size for TextLabel with Margin
correctly by calling MeasureChild().
Because TextLabel size is not decreased by its Margin size.
src/Tizen.NUI/src/public/Layouting/RelativeLayout.cs