forked from qt-creator/qt-creator
QmlDesigner: Fix mobile scroll wizard template
Change-Id: I00d0467ce4ed28d0135e16c6ae9802ed66a1ff7d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
32dfddbf78
commit
6d51955451
@@ -17,11 +17,12 @@ ApplicationWindow {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
|
id: listView
|
||||||
width: parent.width
|
width: parent.width
|
||||||
model: 20
|
model: 20
|
||||||
delegate: ItemDelegate {
|
delegate: ItemDelegate {
|
||||||
text: "Item " + (index + 1)
|
text: "Item " + (index + 1)
|
||||||
width: parent.width
|
width: listView.width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user