diff options
author | Henning Gruendl <henning.gruendl@qt.io> | 2020-09-02 13:53:10 +0200 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2020-09-02 14:00:34 +0000 |
commit | 6d519554513bd0fa711b403681611f0b7561de12 (patch) | |
tree | c6414c7cc76b448ec5bf8951146c677da565e1bf /share | |
parent | 32dfddbf7896c0527f23322f00de467fdc0bf3b0 (diff) |
QmlDesigner: Fix mobile scroll wizard template
Change-Id: I00d0467ce4ed28d0135e16c6ae9802ed66a1ff7d
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/main.qml.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/main.qml.tpl b/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/main.qml.tpl index 0ee9d19083..88f3909590 100644 --- a/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/main.qml.tpl +++ b/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/main.qml.tpl @@ -17,11 +17,12 @@ ApplicationWindow { anchors.fill: parent ListView { + id: listView width: parent.width model: 20 delegate: ItemDelegate { text: "Item " + (index + 1) - width: parent.width + width: listView.width } } } |