Visuals using Custom View example
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / manual / csharp / CustomView.cs
index 83540d3..a93b4f9 100644 (file)
@@ -61,6 +61,9 @@ namespace Dali
             viewWrapperImpl.OnTap = new ViewWrapperImpl.OnTapDelegate(OnTap);
             viewWrapperImpl.OnLongPress = new ViewWrapperImpl.OnLongPressDelegate(OnLongPress);
 
+            // By default, we do not want the position to use the anchor point
+            this.PositionUsesAnchorPoint = false;
+
             // Make sure CustomView is initialized.
             OnInitialize();