diff options
Diffstat (limited to 'examples/quick/externaldraganddrop/DragAndDropTextItem.qml')
-rw-r--r-- | examples/quick/externaldraganddrop/DragAndDropTextItem.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/quick/externaldraganddrop/DragAndDropTextItem.qml b/examples/quick/externaldraganddrop/DragAndDropTextItem.qml index c241f6ed82..8a53745974 100644 --- a/examples/quick/externaldraganddrop/DragAndDropTextItem.qml +++ b/examples/quick/externaldraganddrop/DragAndDropTextItem.qml @@ -8,11 +8,12 @@ Rectangle { id: item property string display property alias dropEnabled: acceptDropCB.checked - color: dropArea.containsDrag ? "#CFC" : "#EEE" + color: dropArea.containsDrag ? Qt.darker(palette.base) : palette.base + ColorAnimation on color { id: rejectAnimation from: "#FCC" - to: "#EEE" + to: palette.base duration: 1000 } Label { |