Ceil tooltip popup size so right/bottom borders render

Text.implicitWidth/Height can be fractional. Passing those values
straight to the PopupWindow rounded the Wayland surface down, clipping
the 1px right/bottom border of the bubble.
This commit is contained in:
Jake Weaver
2026-05-15 10:13:39 -04:00
parent 96c5e048cb
commit 182f71a61b
@@ -929,8 +929,8 @@ Item {
visible: root.tooltipShown && root.tooltipTarget !== null && root.tooltipText !== ""
color: "transparent"
implicitWidth: tooltipBubble.implicitWidth
implicitHeight: tooltipBubble.implicitHeight
implicitWidth: Math.ceil(tooltipBubble.implicitWidth)
implicitHeight: Math.ceil(tooltipBubble.implicitHeight)
anchor {
id: tooltipAnchor