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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user