From 2947ecdf5cb3ee0e17766dcca06bac881f6e2d82 Mon Sep 17 00:00:00 2001 From: Jiyun Yang Date: Thu, 9 Jul 2020 16:14:48 +0900 Subject: [PATCH] [NUI] Fix Size issue of Loading (#1806) This fixes size effect of #1797 Signed-off-by: Jiyun Yang --- src/Tizen.NUI.Components/Controls/Loading.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Tizen.NUI.Components/Controls/Loading.cs b/src/Tizen.NUI.Components/Controls/Loading.cs index 4848cbf..dba3544 100755 --- a/src/Tizen.NUI.Components/Controls/Loading.cs +++ b/src/Tizen.NUI.Components/Controls/Loading.cs @@ -52,7 +52,7 @@ namespace Tizen.NUI.Components if (newValue != null) { Size size = (Size)newValue; - ((View)bindable).ViewStyle.Size = size; + ((View)bindable).Size = size; if (null != instance.imageVisual) { instance.imageVisual.Size = new Size2D((int)size.Width, (int)size.Height); @@ -61,8 +61,8 @@ namespace Tizen.NUI.Components }, defaultValueCreator: (bindable) => { - var instance = (Loading)bindable; - return instance.Style.Size; + var instance = (View)bindable; + return instance.Size; }); /// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] -- 2.7.4