[NUI] Fix padding issue
authorhuiyu.eun <huiyu.eun@samsung.com>
Tue, 16 Mar 2021 10:18:54 +0000 (19:18 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 18 Mar 2021 10:16:51 +0000 (19:16 +0900)
commit8ef857a752c5258d5414a25e0f2f7041e536647d
treefb388e1335e85036071a3afdcac442206d1c4c0b
parent3645b1eb59db467a2c888e1e6d108820291c464e
[NUI] Fix padding issue

If Layout is a LayoutItem then it could be a View that handles it's own padding.
Let the View keeps it's padding. Still store Padding in Layout to reduce code paths.

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/View.cs