[NUI] Fix button layout when resize policy is FillToParent and etc. (#2809)
authorhuiyu.eun <huiyu.eun@samsung.com>
Tue, 20 Apr 2021 05:46:42 +0000 (14:46 +0900)
committerhuiyueun <35286162+huiyueun@users.noreply.github.com>
Tue, 20 Apr 2021 06:13:00 +0000 (15:13 +0900)
commit708ef8f49448e41356c12c721b6750ff3b8ab898
tree80529ebb2297551d957cad348698177ccab96b17
parent9977b7e574cbed98e90eb4d9718be38eceb00293
[NUI] Fix button layout when resize policy is FillToParent and etc. (#2809)

* Add ItemAlignment property to make it "center" for a Button and "begin" for others.
* Add ItemSpacing to set space between icon and text.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
src/Tizen.NUI.Components/Controls/Button.Internal.cs
src/Tizen.NUI.Components/Controls/Button.cs
src/Tizen.NUI.Components/Style/ButtonStyle.cs
src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs