[ToolTip] Round position
Otherwise screws up font rendering
This commit is contained in:
parent
66122410a1
commit
886fd953fd
@ -26,7 +26,7 @@ import org.kde.kirigami 2.5 as Kirigami
|
|||||||
T.ToolTip {
|
T.ToolTip {
|
||||||
id: control
|
id: control
|
||||||
|
|
||||||
x: parent ? (parent.width - implicitWidth) / 2 : 0
|
x: parent ? Math.round((parent.width - implicitWidth) / 2) : 0
|
||||||
y: -implicitHeight - 3
|
y: -implicitHeight - 3
|
||||||
|
|
||||||
visible: parent && (Kirigami.Settings.tabletMode ? parent.pressed : parent.hovered)
|
visible: parent && (Kirigami.Settings.tabletMode ? parent.pressed : parent.hovered)
|
||||||
|
Loading…
Reference in New Issue
Block a user