Tumbler positionViewAtIndex error
Unsolved
QML and Qt Quick
-
Hi All,
I'm trying to set a tumbler to an initial position using positionViewAtIndex but am getting the error "QML Tumbler: Tumbler: contentItem must contain either a PathView or a ListView" for the linemyTumbler.positionViewAtIndex(2, Tumbler.Center)
Very little came up when I searched apart from this which was the catalyst for positionViewAtIndex being added to tumbler. Haven't tried the work around yet.
The kit I'm running is Qt 5.12.2 MinGW 32-bit and the Qt module QtQuick.Controls 2.5
Appreciate any help!