From 0726c38c5bc984c895dbc898ca504ae2444f47bc Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Tue, 1 Aug 2017 10:38:07 +0900 Subject: [PATCH] [Tizen] fix TCT BLOCK issue This reverts commit a6ca5916fdcbe0ddd0e10121bd47f61b189a7bd2. Change-Id: Ib028fb0d88ab31c6428bd358e963aabb1bd6a670 --- src/Tizen.NUI/src/public/BaseComponents/View.cs | 4 ++-- src/Tizen.NUI/src/public/CustomView/Spin.cs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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; -- 2.7.4