[NUI] CheckBox, RadioButton and Switch can place text without setting text size ...
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI.Components / Theme / DefaultThemeCommon.cs
index ddda07e..93776e2 100755 (executable)
@@ -54,9 +54,10 @@ namespace Tizen.NUI.Components
 
             theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
             {
-                Size = new Size(30, 30),
+                IconPadding = 5,
                 Icon = new ImageViewStyle()
                 {
+                    Size = new Size(30, 30),
                     Opacity = new Selector<float?>()
                     {
                         Normal = 1.0f,
@@ -115,9 +116,8 @@ namespace Tizen.NUI.Components
                     {
                         BackgroundColor = new Selector<Color>()
                         {
-                            Normal = new Color(1, 1, 1, 1),
                             Pressed = new Color(0, 0, 0, 0.1f),
-                            Other = new Color(1, 1, 1, 1),
+                            Other = new Color(1, 1, 1, 0.1f),
                         },
                     },
                     Text = new TextLabelStyle()
@@ -146,9 +146,10 @@ namespace Tizen.NUI.Components
 
             theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
             {
-                Size = new Size(30, 30),
+                IconPadding = 5,
                 Icon = new ImageViewStyle()
                 {
+                    Size = new Size(30, 30),
                     Opacity = new Selector<float?>()
                     {
                         Normal = 1.0f,
@@ -205,7 +206,7 @@ namespace Tizen.NUI.Components
 
             theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
             {
-                Size = new Size(96, 60),
+                IconPadding = 5,
                 Track = new ImageViewStyle()
                 {
                     Size = new Size(96, 60),
@@ -252,7 +253,6 @@ namespace Tizen.NUI.Components
                     Selected = FrameworkInformation.ResourcePath + "nui_component_default_pagination_focus_dot.png",
                 },
                 IndicatorSize = new Size(10, 10),
-                IndicatorSpacing = 10,
             });
 
             theme.AddStyleWithoutClone("Tizen.NUI.Components.Scrollbar", new ScrollbarStyle()