[NUI] remove internal child properly when child view of FlexLayout is removed (#2523)
authorYeongJong Lee <cleanlyj@naver.com>
Thu, 21 Jan 2021 06:34:18 +0000 (15:34 +0900)
committerGitHub <noreply@github.com>
Thu, 21 Jan 2021 06:34:18 +0000 (15:34 +0900)
commit85b41782184984a0713a0520471215610d36dccc
tree98bcdba37763865f68635ba82b987c87bebf4997
parent4ab998b7eb707a17689247ea744db22eacd949de
[NUI] remove internal child properly when child view of FlexLayout is removed (#2523)

In `FlexLayout`, when we add new view, the existing view shrink.
but when removed they are in shrinked state. they should change back.

To fix this issue, this patch remove internal child(child of yoga
layout) when child view of `FlexLayout` is removed.

For now, `OnChildRemove` API will work correctly.

Thank you Aman Jeph for the report.
src/Tizen.NUI/src/internal/Layouting/Interop/Interop.FlexLayout.cs
src/Tizen.NUI/src/public/Layouting/FlexLayout.cs
src/Tizen.NUI/src/public/Layouting/LayoutGroup.cs