[NUI] respect flex child margin changes (#2271)
authorYeongJong Lee <cleanlyj@naver.com>
Mon, 23 Nov 2020 11:20:22 +0000 (20:20 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 26 Nov 2020 08:19:50 +0000 (17:19 +0900)
commitbb1f61a2d03a5194e050d859c5b521d754d96e0b
treefee48093fa0f73b3c0c792af48790324833cc11e
parentd5da4f41c5a0e58a63fae6dd8408eb0d70f78b5c
[NUI] respect flex child margin changes (#2271)

The flex child margin is only set when a flex child is added to flexlayout,
so margin changes after `View.Add` are ignored.

To respect child margin changes, This patch add code to set flex margin in
`OnMeasure`.
src/Tizen.NUI/src/public/Layouting/FlexLayout.cs