From bc7cb028cf42ff75d7644c278201883ea3426199 Mon Sep 17 00:00:00 2001 From: Umar Date: Thu, 2 Mar 2017 18:12:38 +0000 Subject: [PATCH] Fix the Styling issue with Custom View. Change-Id: I1319849de3b0b75c99015c22f0490a1ff4fbdb8e --- plugins/dali-swig/examples/date-picker-using-json.cs | 4 ++-- plugins/dali-swig/views/spin.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/dali-swig/examples/date-picker-using-json.cs b/plugins/dali-swig/examples/date-picker-using-json.cs index dbc388c..daa7326 100644 --- a/plugins/dali-swig/examples/date-picker-using-json.cs +++ b/plugins/dali-swig/examples/date-picker-using-json.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,7 +53,7 @@ namespace MyCSharpExample constants.Insert( "CONFIG_SCRIPT_LOG_LEVEL", new Property.Value( "Verbose") ); _builder.AddConstants( constants ); - _builder.LoadFromFile( "./json/date-picker.json" ); + _builder.LoadFromFile( "./json/date-picker-template.json" ); // create the date-picker from the template in the json file BaseHandle handle = _builder.Create( "date-picker"); diff --git a/plugins/dali-swig/views/spin.cs b/plugins/dali-swig/views/spin.cs index f31a49d..f4d6aec 100644 --- a/plugins/dali-swig/views/spin.cs +++ b/plugins/dali-swig/views/spin.cs @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,7 +55,7 @@ public class Spin : CustomView ViewRegistry.Instance.Register(CreateInstance, typeof(Spin) ); } - public Spin() : base(typeof(Spin).Name, ViewWrapperImpl.CustomViewBehaviour.REQUIRES_KEYBOARD_NAVIGATION_SUPPORT | ViewWrapperImpl.CustomViewBehaviour.DISABLE_STYLE_CHANGE_SIGNALS) + public Spin() : base(typeof(Spin).Name, ViewWrapperImpl.CustomViewBehaviour.REQUIRES_KEYBOARD_NAVIGATION_SUPPORT) { } -- 2.7.4