[NUI] Add API Button.IconSize
authorJiyun Yang <ji.yang@samsung.com>
Thu, 1 Jul 2021 09:30:46 +0000 (18:30 +0900)
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>
Mon, 5 Jul 2021 09:51:44 +0000 (18:51 +0900)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI.Components/Controls/Button.cs

index b694e6e..0b045f2 100755 (executable)
@@ -482,6 +482,16 @@ namespace Tizen.NUI.Components
         }
 
         /// <summary>
+        /// Icon image's size in Button.
+        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
+        public Size IconSize
+        {
+            get => Icon.Size;
+            set => Icon.Size = value;
+        }
+
+        /// <summary>
         /// Text string selector in Button.
         /// Getter returns copied selector value if exist, null otherwise.
         /// <exception cref="NullReferenceException">Thrown when setting null value.</exception>