From: minho.sun Date: Tue, 1 Aug 2017 01:38:07 +0000 (+0900) Subject: [Tizen] fix TCT BLOCK issue X-Git-Tag: preview1-00180^2~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0726c38c5bc984c895dbc898ca504ae2444f47bc;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Tizen] fix TCT BLOCK issue This reverts commit a6ca5916fdcbe0ddd0e10121bd47f61b189a7bd2. Change-Id: Ib028fb0d88ab31c6428bd358e963aabb1bd6a670 --- diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index da95366..207c2c4 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -827,7 +827,7 @@ namespace Tizen.NUI.BaseComponents /// /// Handle to an object /// A handle to a View or an uninitialized handle - [Obsolete("Please do not use! this will be deprecated, instead please us as keyword.")] + [Obsolete("Please do not use! this will be deprecated, instead please use as keyword.")] public new static View DownCast(BaseHandle handle) { View ret = Registry.GetManagedBaseHandleFromNativePtr(handle) as View; @@ -835,7 +835,7 @@ namespace Tizen.NUI.BaseComponents return ret; } - [Obsolete("Please do not use! this will be deprecated, instead please us as keyword.")] + [Obsolete("Please do not use! this will be deprecated, instead please use as keyword.")] public static T DownCast(View view) where T : View { T ret = Registry.GetManagedBaseHandleFromNativePtr(view) as T; diff --git a/src/Tizen.NUI/src/public/CustomView/Spin.cs b/src/Tizen.NUI/src/public/CustomView/Spin.cs index e3e9f2c..cfed4a8 100755 --- a/src/Tizen.NUI/src/public/CustomView/Spin.cs +++ b/src/Tizen.NUI/src/public/CustomView/Spin.cs @@ -76,7 +76,8 @@ namespace Tizen.NUI public override void OnInitialize() { // Initialize the propertiesControl - _arrowImage = "/home/tengxb/Workspace/nui-debug/examples/res/images/arrow.png"; + //_arrowImage = "/home/tengxb/Workspace/nui-debug/examples/res/images/arrow.png"; + _arrowImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png"; _textBackgroundColor = new Color(0.6f, 0.6f, 0.6f, 1.0f); _currentValue = 0; _minValue = 0;