Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
4.7.0
-
None
Description
If there are more elements created by a Repeater than there is room for in a Grid
(same for Row and Column?), then the excess items pile up in the top left corner,
which doesn't seem right (or is it the lesser evil?).
Rectangle {
width: 350
height: 350
Grid {
columns: 3
rows: 3
spacing: 10
Repeater {
model: 15
delegate: delegateItem
}
}
Component {
id: delegateItem
Rectangle {
width: 100
height: 100
color: "blue"
opacity: 0.2
Text { anchors.centerIn: parent; text: index; font.pixelSize: 30}
}
}
}