projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Visuals using Custom View example
[platform/core/uifw/dali-toolkit.git]
/
plugins
/
dali-swig
/
manual
/
csharp
/
CustomView.cs
diff --git
a/plugins/dali-swig/manual/csharp/CustomView.cs
b/plugins/dali-swig/manual/csharp/CustomView.cs
index
83540d3
..
a93b4f9
100644
(file)
--- a/
plugins/dali-swig/manual/csharp/CustomView.cs
+++ b/
plugins/dali-swig/manual/csharp/CustomView.cs
@@
-61,6
+61,9
@@
namespace Dali
viewWrapperImpl.OnTap = new ViewWrapperImpl.OnTapDelegate(OnTap);
viewWrapperImpl.OnLongPress = new ViewWrapperImpl.OnLongPressDelegate(OnLongPress);
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();
// Make sure CustomView is initialized.
OnInitialize();