[NUI] Allow to set Size.Depth (#3442)
authorEunki Hong <h.pichulia@gmail.com>
Fri, 27 Aug 2021 08:59:49 +0000 (17:59 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 1 Sep 2021 08:20:01 +0000 (17:20 +0900)
commitde6c7e136622108c5eb9546100eac5c5e88ac1c5
treeee41712afa43a022cdabc333100f8ec05a1a3ad8
parentf55a6c620da9b876f91171e88aad01c0b7363709
[NUI] Allow to set Size.Depth (#3442)

Previous version set dali-side size first, and set Width/Height Specification.
But int Width/Height Specification setter, they also call Size2D property set.

Unfortunatly, Size2DProperty doesn't care about the depths of view.
So the Depth value is gone.

This patch re-ordering the function call to set dali-side size later
so Size.Depth will works well.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
Co-authored-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/ViewBindableProperty.cs
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Samples/DisposeTest.cs