Size, Position, Color high level class added
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / examples / visuals-example.cs
old mode 100644 (file)
new mode 100755 (executable)
index 907054e..51c57d9
@@ -1,4 +1,4 @@
-/*
+/*
  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -41,7 +41,7 @@ namespace MyCSharpExample
             contentLayout.Name = ("ContentLayout");
             contentLayout.WidthResizePolicy = "FILL_TO_PARENT";
             contentLayout.HeightResizePolicy = "FILL_TO_PARENT";
-            contentLayout.SetCellPadding(new Size(0.0f, 5.0f));
+            contentLayout.SetCellPadding(new Size2D(0, 5));
             contentLayout.BackgroundColor = new Color(0.949f, 0.949f, 0.949f, 1.0f);
 
             stage.GetDefaultLayer().Add(contentLayout);