Page
{
id : root
focus: true
ListView
{
id : listview
width: 1250
height: 400
focus: true
orientation: ListView.Horizontal
snapMode: ListView.SnapOneItem
model: myModel
delegate: myDelegate
preferredHighlightBegin : 0
preferredHighlightEnd : 0
highlightRangeMode : ListView.NoHighlightRange
antialiasing: true
clip: true
ListModel {
id: myModel
ListElement {
element: "a.qml"
}
ListElement {
element: "b.qml"
}
ListElement {
element: "c.qml"
}
ListElement {
element: "d.qml"
}
ListElement {
element: "e.qml"
}
}
Component {
id: myDelegate
Loader { source: element }
}
}
}
Note: Here a.qml, b.qml, c.qml, d.qml and e.qml have a combination of images, Buttons, etc but they are not unique. I'm able to create a horizontal list with this code and it is not scrolling properly. When tried scrolling by pressing and holding the list element its not scrolling, the spaces apart from the list element is scrollable. Do we have any solution for this use case?
