Sign in
third-party-mirror
/
orbit
/
b80a455c0268d549edd5f71d1094a89297b72f72
/
.
/
qt-everywhere-src-5.14.1
/
qtdeclarative
/
tests
/
auto
/
quick
/
qquicklistview
/
data
/
snapToItemWithSpacing.qml
blob: 50b5abb206d997d8424936ee2e3fdf43992ba6ec [
file
] [
log
] [
blame
]
import
QtQuick
2.0
ListView
{
width
:
100
height
:
300
snapMode
:
ListView
.
SnapToItem
spacing
:
100
model
:
10
delegate
:
Rectangle
{
height
:
100
width
:
100
color
:
"blue"
Text
{
anchors
.
centerIn
:
parent
text
:
index
}
}
}