diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/qtquick/draganddrop/views/gridview.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/qtquick/draganddrop/views/gridview.qml b/examples/qtquick/draganddrop/views/gridview.qml index 04d8dee463..b18078f48d 100644 --- a/examples/qtquick/draganddrop/views/gridview.qml +++ b/examples/qtquick/draganddrop/views/gridview.qml @@ -45,6 +45,10 @@ GridView { width: 320; height: 480 cellWidth: 80; cellHeight: 80 + displaced: Transition { + NumberAnimation { properties: "x,y"; easing.type: Easing.OutQuad } + } + model: VisualDataModel { id: visualModel model: ListModel { @@ -93,7 +97,7 @@ GridView { color: model.color radius: 3 - Drag.active: delegateRoot.pressed + Drag.active: delegateRoot.drag.active Drag.source: delegateRoot Drag.hotSpot.x: 36 Drag.hotSpot.y: 36 |