blob: 7ecc833a649c2b1b9c18677b8f2ac161a9b8953b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import QtQuick 2.0
ListView {
id: list
currentIndex: 5
snapMode: ListView.SnapOneItem
orientation: ListView.Horizontal
highlightRangeMode: ListView.StrictlyEnforceRange
highlightFollowsCurrentItem: true
model: 10
spacing: 10
delegate: Item {
width: ListView.view.width
height: ListView.view.height
}
}
|