PressDelay on QML Flickable doesn't work



  • I try to use pressDelay on QML Flickable but for some reason it doesn't work.
    Has anyone try it ?



  • This works for me, both QtQuick 1 and 2:
    @
    Flickable {
    id: root
    width: 200; height: 200
    contentHeight: 600
    pressDelay: 500
    Rectangle {
    width: 50; height: 50
    color: ma.pressed ? "blue" : "green"
    MouseArea {
    id: ma
    anchors.fill: parent
    }
    }
    }
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.