Given this QML:
ApplicationWindow {
id: window
width: 640
height: 480
visible: true
color: "black"
ListView {
id: myView
anchors.fill: parent
model: [12, 12, 12, 12, 12, 12, 12, 12]
delegate: ItemDelegate {
width: parent.width
contentItem: Rectangle {
color: "blue"
}
}
spacing: 0
}
}
The listview, or the individual rows will render with a spacing around them:
How can I remove this spacing? What I need is no border around the listview relative to the ApplicationWindow, and a 1px spacing between listview rows.
