WindowHeapDelegate: label topMargin to small, remove height padding

This should help avoiding the window heap delegaet labels drawing on top
of each other in Overview effect.


BUG:489595
This commit is contained in:
Akseli Lahtinen 2024-07-03 20:33:09 +00:00
parent 24613d0dd8
commit a99e1b6622

View file

@ -172,7 +172,7 @@ Item {
width: cell.width
maximumLineCount: 1
anchors.top: parent.bottom
anchors.topMargin: Kirigami.Units.largeSpacing
anchors.topMargin: Kirigami.Units.smallSpacing
anchors.horizontalCenter: parent.horizontalCenter
elide: Text.ElideRight
text: thumb.window.caption
@ -182,8 +182,8 @@ Item {
verticalAlignment: Text.AlignVCenter
background: Rectangle {
anchors.centerIn: parent
height: parent.contentHeight + Kirigami.Units.gridUnit
width: parent.contentWidth + Kirigami.Units.gridUnit
height: parent.contentHeight + Kirigami.Units.smallSpacing
width: parent.contentWidth + Kirigami.Units.smallSpacing
color: Kirigami.Theme.backgroundColor
radius: Kirigami.Units.cornerRadius
}