Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.2
-
None
-
RHEL 8.4
Description
The following minimal example doesn't do what I think it's supposed to do:
import QtQuick 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true title: qsTr("Hello World") ListView { id: lv anchors.fill: parent model: 1000 clip: true delegate: Text { width: lv.width text: index } // Doesn't center - the 500th delegate as at the viewport edge Component.onCompleted: positionViewAtIndex(500, ListView.Center) } }
Am I missing something obvious?