[NUI] Fix FlexLayout not to fill its parent with WrapContent
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Tue, 10 Aug 2021 12:21:57 +0000 (21:21 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 18 Aug 2021 03:10:44 +0000 (12:10 +0900)
commit724a63d1353ad7a2f3ee88c9623818e8f61997d1
tree3e68e59952845ae6749d8a0fcb514c42e981d3af
parentcf65a2b87c3a6646dd6868d0efdb4c700a47840b
[NUI] Fix FlexLayout not to fill its parent with WrapContent

Previously, FlexLayout filled its parent even if it had WrapContent
Width/HeightSpecification.
Because FlexLayout's width and height always referred its parent's size.
(If Width/HeightSpecification is WrapContent, then Mode becomes AtMost.)

Now, FlexLayout does not fill its parent if it has WrapContent
Width/HeightSpecification.
src/Tizen.NUI/src/public/Layouting/FlexLayout.cs