[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 9bb8632..2dc528d 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 030c3f6..a37925d 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 361f24b..92d9d0f 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 3c692bf..abb189f 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 96cc498..efb00bd 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 a3bce97..5d8f73b 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 edfeb58..93abff2 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 6193ec6..6bc11c0 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 b65efe2..cfeb0fb 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 9d4a29a..a7db5d6 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 b3f02dd..cc2b65b 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 a2aff40..699e051 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 4c61733..f438ab3 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 e41f036..aa7421a 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>