round positions
makes the text render correctly
This commit is contained in:
parent
787b0d8cdf
commit
a9417c2d11
1 changed files with 2 additions and 2 deletions
|
@ -69,11 +69,11 @@ KWin.Switcher {
|
||||||
delegate: Item {
|
delegate: Item {
|
||||||
id: delegateItem
|
id: delegateItem
|
||||||
width: thumbnailListView.delegateWidth
|
width: thumbnailListView.delegateWidth
|
||||||
height: thumbnailItem.height + label.height + 30
|
height: Math.round(thumbnailItem.height + label.height + 30)
|
||||||
Item {
|
Item {
|
||||||
id: thumbnailItem
|
id: thumbnailItem
|
||||||
width: parent.width - hoverItem.margins.left - hoverItem.margins.right
|
width: parent.width - hoverItem.margins.left - hoverItem.margins.right
|
||||||
height: thumbnailListView.delegateWidth*(1.0/screenFactor) - hoverItem.margins.top
|
height: Math.round(thumbnailListView.delegateWidth*(1.0/screenFactor) - hoverItem.margins.top)
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
top: parent.top
|
||||||
left: parent.left
|
left: parent.left
|
||||||
|
|
Loading…
Reference in a new issue