Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
Description
It would be good to be able to make the view layout based on the contentWidth, e.g.
import QtQuick 2.0
Rectangle {
width: 300; height: 300
GridView {
cellWidth: 30; cellHeight: 20
anchors.margins: 10
anchors.fill: parent
model: listModel
delegate: Text { text: index }
contentWidth: 600
flickableDirection: Flickable.HorizontalAndVerticalFlick
}
}