Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
5.0.0
-
None
Description
When defining the highlightMoveSpeed of a ListView, it is not considered in QtQuick 2.0. The actual used moving speed seems to be much higher.
This used to work well in QtQuick 1.x (Qt 4.x).
See the comparing animation (The transition between one item and the next one should take 1 second.)
//import QtQuick 1.1 import QtQuick 2.0 Item { width: 120 height: 120 ListView { id: listview anchors.fill: parent orientation: ListView.Horizontal model: 100000 highlightMoveSpeed: width // Proceed to next item within 1 second delegate: Item { width: listview.width height: listview.height Text { anchors.centerIn: parent text: index % 2 ? "B" : "A" } } } Timer { interval: 2000 repeat: true running: true onTriggered: listview.incrementCurrentIndex() } }