Fix the Styling issue with Custom View. 97/117097/7
authorUmar <m.umar@partner.samsung.com>
Thu, 2 Mar 2017 18:12:38 +0000 (18:12 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Fri, 3 Mar 2017 17:38:04 +0000 (17:38 +0000)
Change-Id: I1319849de3b0b75c99015c22f0490a1ff4fbdb8e

plugins/dali-swig/examples/date-picker-using-json.cs
plugins/dali-swig/views/spin.cs

index dbc388c..daa7326 100644 (file)
@@ -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");
index f31a49d..f4d6aec 100644 (file)
@@ -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)
     {
 
     }