Part of the issue was the background rectangle. Making that slightly transparent, and pushing it back in Z, revealed part of widget (that was otherwise hidden by the background on top).
I'm still stuck getting my "Row Background (row_Channel)" to appear however. The Label and ToolButton appear now, but the alternate colored bg rectangles still won't show.
ListView {
id: listView_Channels
Layout.fillWidth: true
height: count * 24
// spacing: 4
Rectangle {
id: lv_Channels_BG
anchors.fill: parent
color: "#33000000"
z: -1
}
model: ["Mask", "BaseColor", "AO", "Roughness", "Metallic"]
delegate: Rectangle {
id: row_Channel
Layout.fillWidth: true
height: 24
color: index % 2 == 0 ? "red" : "green"
border.color: "white"
border.width: 2
RowLayout {
id: layout_ChannelControls
Layout.fillWidth: true
AlgLabel {
id: label_Channel
text: index + " " + modelData
}
AlgToolButton {
id: remove_Channel
Layout.alignment: Qt.AlignRight
width: label_Channel.height
height: label_Channel.height
Image {
id: icon_Minus
anchors.fill: parent
anchors.margins: 1
source: "img/icon_minus.svg"
sourceSize.width: width
sourceSize.height: height
fillMode: Image.PreserveAspectFit
opacity: 1.0
mipmap: false
}
}
}
}
}