[NUI] Button text ellipsis enabled and etc. (#2772)
authorJiyun Yang <ji.yang@samsung.com>
Tue, 23 Mar 2021 04:56:43 +0000 (13:56 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 30 Mar 2021 06:51:02 +0000 (15:51 +0900)
commit86409caf7bffd2b7b3e0aa7a827a51b449938b1e
treea4c951dc66e8a088acb4a15d459b9318ebd6c1fa
parent93b60164505037a2392277aa85368dcdd0a774e1
[NUI] Button text ellipsis enabled and etc. (#2772)

* Button text ellipsis when the text is longer than the button width.
* Switch thumb can get control state changed callback from parent.
* Button IconPadding is ignored when the icon is not exist.
* Button TextPadding is ignored when the text is not exist.

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