round positions

makes the text render correctly
This commit is contained in:
Marco Martin 2014-05-16 14:11:24 +02:00
parent 787b0d8cdf
commit a9417c2d11

View file

@ -69,11 +69,11 @@ KWin.Switcher {
delegate: Item {
id: delegateItem
width: thumbnailListView.delegateWidth
height: thumbnailItem.height + label.height + 30
height: Math.round(thumbnailItem.height + label.height + 30)
Item {
id: thumbnailItem
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 {
top: parent.top
left: parent.left