[NUI.Components] Fix Background Image not works issue (#1246)
authorXianbing Teng <xb.teng@samsung.com>
Fri, 27 Dec 2019 07:56:13 +0000 (15:56 +0800)
committerJiyun Yang <ji.yang@samsung.com>
Fri, 27 Dec 2019 07:56:13 +0000 (16:56 +0900)
14 files changed:
src/Tizen.NUI.Components/Style/ButtonStyle.cs
src/Tizen.NUI.Components/Style/ControlStyle.cs
src/Tizen.NUI.Components/Style/DropDownStyle.cs
src/Tizen.NUI.Components/Style/ImageControlStyle.cs
src/Tizen.NUI.Components/Style/InputFieldStyle.cs
src/Tizen.NUI.Components/Style/LoadingStyle.cs
src/Tizen.NUI.Components/Style/PaginationStyle.cs
src/Tizen.NUI.Components/Style/PopupStyle.cs
src/Tizen.NUI.Components/Style/ProgressStyle.cs
src/Tizen.NUI.Components/Style/ScrollbarStyle.cs
src/Tizen.NUI.Components/Style/SliderStyle.cs
src/Tizen.NUI.Components/Style/SwitchStyle.cs
src/Tizen.NUI.Components/Style/TabStyle.cs
src/Tizen.NUI.Components/Style/ToastStyle.cs

index 9bb86329f1998cd7d0360690bc28853bcb1b9412..2dc528db8df70a951eb5f8ed07b5432d938e1f72 100755 (executable)
@@ -109,6 +109,8 @@ namespace Tizen.NUI.Components
             return buttonStyle.textPadding;
         });
 
+        static ButtonStyle() { }
+
         /// <summary>
         /// Creates a new instance of a ButtonStyle.
         /// </summary>
index 030c3f6ca35ff4bdfe6199b85822305159075dac..a37925da8712623348cec9241a7242696ea03ccb 100755 (executable)
@@ -71,6 +71,9 @@ namespace Tizen.NUI.Components
         private Selector<string> backgroundImage;
         private Selector<Rectangle> backgroundImageBorder;
         private Selector<Color> backgroundColor;
+
+        static ControlStyle () { }
+
         /// <summary>
         /// Creates a new instance of a ControlStyle.
         /// </summary>
index 361f24bc840f2d94e2c6871ea2a95622deefb19a..92d9d0f41140dba3dc81af148dfae2dd72e3a369 100755 (executable)
@@ -99,6 +99,8 @@ namespace Tizen.NUI.Components
             return dropDownStyle.listPadding;
         });
 
+        static DropDownStyle() { }
+
         /// <summary>
         /// Creates a new instance of a DropDownStyle.
         /// </summary>
index 3c692bfab87e41cccb3aafb3c976cf4501955b0c..abb189fe3774470a22f7cbe523caf79a51e7f6f7 100755 (executable)
@@ -59,6 +59,8 @@ namespace Tizen.NUI.Components
         private Selector<string> resourceUrlSelector;
         private Selector<Rectangle> borderSelector;
 
+        static ImageControlStyle() { }
+
         /// <summary>
         /// Creates a new instance of a ImageControlStyle.
         /// </summary>
index 96cc498c8f5726c23727780c0000543497fd5617..efb00bdf5340c68c5338de562deda49de9fad281 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class InputFieldStyle : ControlStyle
     {
+        static InputFieldStyle() { }
+
         /// <summary>
         /// Creates a new instance of a InputFieldAttributes.
         /// </summary>
index a3bce9747e654cd4fe1748028efab76cc0f45f3e..5d8f73bdee377dc495e2de344eb0d76349b79233 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class LoadingStyle : ControlStyle
     {
+        static LoadingStyle() { }
+
         /// <summary>
         /// Creates a new instance of a LoadingStyle.
         /// </summary>
index edfeb584b4d8a42cbe8c8e928ba05f35e5a17754..93abff2752755919eccd6e34da366cf1673403e3 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class PaginationStyle : ControlStyle
     {
+        static PaginationStyle() { }
+
         /// <summary>
         /// Creates a new instance of a PaginationStyle.
         /// </summary>
index 6193ec617ad38d15a6fb731a70a2c159f769f5a3..6bc11c088c52485044da32f7ced6b0d9db35e416 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class PopupStyle : ControlStyle
     {
+        static PopupStyle() { }
+
         /// <summary>
         /// Creates a new instance of a PopupStyle.
         /// </summary>
index b65efe20770ff98cb470a9718dacbe578e301287..cfeb0fb8546bf28843deeed819f8c84e3e5332f6 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class ProgressStyle : ControlStyle
     {
+        static ProgressStyle() { }
+
         /// <summary>
         /// Creates a new instance of a ProgressStyle.
         /// </summary>
index 9d4a29a114bafeaafcb9f2caa626c3394b29e26a..a7db5d6ae8ed31af291b379b39c0d41cb94813cb 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class ScrollBarStyle : ControlStyle
     {
+        static ScrollBarStyle() { }
+
         /// <summary>
         /// Creates a new instance of a ScrollBarStyle.
         /// </summary>
index b3f02ddc52475a1cda10f49f5575a3fd0d4fcffb..cc2b65bb262e88629027aa024db7e94e791ce1d0 100755 (executable)
@@ -89,6 +89,9 @@ namespace Tizen.NUI.Components
             var instance = (SliderStyle)bindable;
             return instance.trackPadding;
         });
+
+        static SliderStyle() { }
+
         /// <summary>
         /// Creates a new instance of a SliderStyle.
         /// </summary>
index a2aff40f828891ab8c537e343b6756cd5ebb9257..699e05176a91e3c374510184b65ad4f93052ec3f 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class SwitchStyle : ButtonStyle
     {
+        static SwitchStyle() { }
+
         /// <summary>
         /// Creates a new instance of a SwitchStyle.
         /// </summary>
index 4c617330a37acff5dc69743aaa0c6b0cfe9a2e53..f438ab3c79a2605afe7444ac77c485b5df408202 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class TabStyle : ControlStyle
     {
+        static TabStyle() { }
+
         /// <summary>
         /// Creates a new instance of a TabStyle.
         /// </summary>
index e41f0360a46954d1046e06978dc8e48e351d9fa3..aa7421a7aa23669a12379ebbb7eeb7b961e27752 100755 (executable)
@@ -28,6 +28,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class ToastStyle : ControlStyle
     {
+        static ToastStyle() { }
+
         /// <summary>
         /// Creates a new instance of a ToastStyle.
         /// </summary>