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:
parent
24613d0dd8
commit
a99e1b6622
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue