[NUI.Components] Fix BackgroundImage doesn't works issue (#1240)
authorXianbing Teng <xb.teng@samsung.com>
Thu, 26 Dec 2019 06:37:30 +0000 (14:37 +0800)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 26 Dec 2019 06:37:30 +0000 (15:37 +0900)
19 files changed:
src/Tizen.NUI.Components/Controls/Button.cs
src/Tizen.NUI.Components/Controls/ButtonGroup.cs
src/Tizen.NUI.Components/Controls/CheckBox.cs
src/Tizen.NUI.Components/Controls/CheckBoxGroup.cs
src/Tizen.NUI.Components/Controls/Control.cs
src/Tizen.NUI.Components/Controls/DropDown.cs
src/Tizen.NUI.Components/Controls/ImageControl.cs
src/Tizen.NUI.Components/Controls/InputField.cs
src/Tizen.NUI.Components/Controls/Loading.cs
src/Tizen.NUI.Components/Controls/Pagination.cs
src/Tizen.NUI.Components/Controls/Popup.cs
src/Tizen.NUI.Components/Controls/Progress.cs
src/Tizen.NUI.Components/Controls/RadioButton.cs
src/Tizen.NUI.Components/Controls/Scrollbar.cs
src/Tizen.NUI.Components/Controls/SelectButton.cs
src/Tizen.NUI.Components/Controls/Slider.cs
src/Tizen.NUI.Components/Controls/Switch.cs
src/Tizen.NUI.Components/Controls/Tab.cs
src/Tizen.NUI.Components/Controls/Toast.cs

index 2b86dd1..dde1e34 100755 (executable)
@@ -132,6 +132,8 @@ namespace Tizen.NUI.Components
         private bool isEnabled = true;
         private bool isPressed = false;
 
+        static Button() { }
+
         /// <summary>
         /// Creates a new instance of a Button.
         /// </summary>
index 2f29950..7b8f01a 100755 (executable)
@@ -237,6 +237,8 @@ namespace Tizen.NUI.Components
             return btGroup.itemShadowBorder;
         });
 
+        static ButtonGroup() { }
+
         /// <summary>
         /// Construct an button group.
         /// </summary>
index f73e962..b4d3dec 100755 (executable)
@@ -22,6 +22,7 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class CheckBox : SelectButton
     {
+        static CheckBox() { }
         /// <summary>
         /// Creates a new instance of a CheckBox.
         /// </summary>
index 22e0d7c..20f8678 100755 (executable)
@@ -34,6 +34,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class CheckBoxGroup : SelectGroup
     {
+        static CheckBoxGroup() { }
+
         /// <summary>
         /// Construct CheckBoxGroup
         /// </summary>
index baeaae2..5257dc8 100755 (executable)
@@ -91,6 +91,8 @@ namespace Tizen.NUI.Components
         [EditorBrowsable(EditorBrowsableState.Never)]
         public ControlStyle Style => ViewStyle as ControlStyle;
 
+        static Control() { }
+
         /// <summary>
         /// Construct an empty Control.
         /// </summary>
index 1e129c3..d6ad876 100755 (executable)
@@ -135,6 +135,8 @@ namespace Tizen.NUI.Components
         private int spaceBetweenButtonTextAndIcon = 0;
         private bool itemPressed = false;
 
+        static DropDown() { }
+
         /// <summary>
         /// Creates a new instance of a DropDown.
         /// </summary>
index e104701..85e2079 100755 (executable)
@@ -61,6 +61,8 @@ namespace Tizen.NUI.Components
 
         internal ImageView imageView;
 
+        static ImageControl() { }
+
         /// <summary>
         /// Construct an empty Control.
         /// </summary>
index ed011e0..ece053c 100755 (executable)
@@ -37,6 +37,8 @@ namespace Tizen.NUI.Components
         // the flag indicate should relayout the textField in base class
         private bool relayoutTextField = true;
 
+        static InputField() { }
+
         /// <summary>
         /// Initializes a new instance of the InputField class.
         /// </summary>
index 9d34d98..416863c 100755 (executable)
@@ -87,6 +87,8 @@ namespace Tizen.NUI.Components
 
         private AnimatedImageVisual imageVisual = null;
 
+        static Loading() { }
+
         /// <summary>
         /// The constructor of Loading.
         /// </summary>
index 84bdf20..7a55ad3 100755 (executable)
@@ -38,6 +38,8 @@ namespace Tizen.NUI.Components
         private int indicatorCount = 0;
         private int selectedIndex = -1;
 
+        static Pagination() { }
+
         /// <summary>
         /// Creates a new instance of a Pagination.
         /// </summary>
index 2307f91..51f84fb 100755 (executable)
@@ -227,6 +227,7 @@ namespace Tizen.NUI.Components
         private TextLabel titleText;
         private ButtonGroup btGroup = null;
         private Window window = null;
+        static Popup() { }
 
         /// <summary>
         /// Creates a new instance of a Popup.
index 857e08a..196c8a0 100755 (executable)
@@ -133,6 +133,7 @@ namespace Tizen.NUI.Components
         private float currentValue = 0;
         private float bufferValue = 0;
 
+        static Progress() { }
         /// <summary>
         /// The constructor of Progress
         /// </summary>
index 724905f..bedb5e7 100755 (executable)
@@ -33,6 +33,8 @@ namespace Tizen.NUI.Components
     [EditorBrowsable(EditorBrowsableState.Never)]
     public class RadioButton : SelectButton
     {
+        static RadioButton() { }
+
         /// <summary>
         /// Creates a new instance of a RadioButton.
         /// </summary>
index d964537..62220ea 100755 (executable)
@@ -129,6 +129,7 @@ namespace Tizen.NUI.Components
         private int minValue;
         private int maxValue;
         private int curValue;
+        static ScrollBar() { }
 
         /// <summary>
         /// The constructor of ScrollBar.
index 30c5e81..e573863 100755 (executable)
@@ -37,6 +37,7 @@ namespace Tizen.NUI.Components
         /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
         protected SelectGroup itemGroup = null;
+        static SelectButton() { }
 
         /// <summary>
         /// Creates a new instance of a SelectButton.
index 2e81002..8cbb064 100755 (executable)
@@ -147,6 +147,7 @@ namespace Tizen.NUI.Components
             var instance = (Slider)bindable;
             return instance.privateTrackPadding;
         });
+        static Slider() { }
 
         /// <summary>
         /// The constructor of the Slider class.
index 4ce7fd3..a0639ae 100755 (executable)
@@ -31,6 +31,7 @@ namespace Tizen.NUI.Components
         private ImageView trackImage;
         private ImageView thumbImage;
         private Animation handlerAni = null;
+        static Switch() { }
 
         /// <summary>
         /// Creates a new instance of a Switch.
index 0dca6f0..c8797b4 100755 (executable)
@@ -35,6 +35,7 @@ namespace Tizen.NUI.Components
         private Animation underlineAni = null;
         private bool isNeedAnimation = false;
         private Extents space;
+        static Tab() { }
 
         /// <summary>
         /// Creates a new instance of a Tab.
index 6834136..3eaaac1 100755 (executable)
@@ -84,6 +84,7 @@ namespace Tizen.NUI.Components
         /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
         [EditorBrowsable(EditorBrowsableState.Never)]
         public new ToastStyle Style => ViewStyle as ToastStyle;
+        static Toast() { }
 
         /// <summary>
         /// Construct Toast with null.