diff options
Diffstat (limited to 'examples/declarative/behaviours/MyRect.qml')
-rw-r--r-- | examples/declarative/behaviours/MyRect.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/behaviours/MyRect.qml b/examples/declarative/behaviours/MyRect.qml index a272e1f..caf0d83 100644 --- a/examples/declarative/behaviours/MyRect.qml +++ b/examples/declarative/behaviours/MyRect.qml @@ -6,7 +6,7 @@ Rectangle { width: 100 height: 100 id: page - MouseRegion { + MouseArea { anchors.fill: parent onClicked: { bluerect.parent = page; bluerect.x=0 } } |