[NUI] Add constructor with style instance
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 28 Oct 2022 02:59:06 +0000 (11:59 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 2 Nov 2022 09:06:47 +0000 (18:06 +0900)
commitde80d0a07edfe60d18108b7855b6442a77e85bb2
tree1acfa69e3ef800c81f6b7eac0a8f567c223041ee
parent12665e3de049896204204d0da810d673c03f5529
[NUI] Add constructor with style instance

To customize and apply app's own style instance, constructor with style
instance should be added.

For now, ApplyStyle() modifies the given properties only based on the
default style unlike applying style in constructor.
e.g. Let default style contain properties A, B, C.
     Let custom style contain properties B, C.
     Then ApplyStyle(custom style) contain default style's A and custom
     style's B and C.

Consequently, to apply custom style without applying default style,
constructor with style instance is required.
14 files changed:
src/Tizen.NUI.Components/Controls/Dialog.cs
src/Tizen.NUI.Components/Controls/Menu.cs
src/Tizen.NUI.Components/Controls/MenuItem.cs
src/Tizen.NUI.Components/Controls/Navigation/ContentPage.cs
src/Tizen.NUI.Components/Controls/Navigation/DialogPage.cs
src/Tizen.NUI.Components/Controls/Navigation/Navigator.cs
src/Tizen.NUI.Components/Controls/Navigation/Page.cs
src/Tizen.NUI.Components/Controls/RecyclerView/CollectionView.cs
src/Tizen.NUI.Components/Controls/RecyclerView/RecyclerView.cs
src/Tizen.NUI.Components/Controls/ScrollableBase.cs
src/Tizen.NUI.Components/Controls/TabBar.cs
src/Tizen.NUI.Components/Controls/TabContent.cs
src/Tizen.NUI.Components/Controls/TabView.cs
src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs