tabbox/switchers/thumbnail_grid: refine icon positioning
This way it won't overlap the label when using a font with unusual metrics. BUG: 473690
This commit is contained in:
parent
1d1981b0f4
commit
996730d310
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ KWin.TabBoxSwitcher {
|
|||
Kirigami.Icon {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.bottom
|
||||
anchors.verticalCenterOffset: Math.round(-columnLayout.spacing/2)
|
||||
anchors.verticalCenterOffset: Math.round(Math.round(-thumbnailGridView.iconSize / 4))
|
||||
width: thumbnailGridView.iconSize
|
||||
height: thumbnailGridView.iconSize
|
||||
|
||||
|
|
Loading…
Reference in a new issue