Bar: fix potential gap to the right of a right positioned bar with fractional scaling.

This commit is contained in:
Sébastien Atoch
2025-11-04 10:56:44 -05:00
parent fd79f75fd5
commit d3b4d2427a
+1 -1
View File
@@ -83,7 +83,7 @@ Item {
var baseWidth = root.barIsVertical ? Style.barHeight : (parent.width - root.barMarginH * 2)
if (!root.barIsVertical)
return baseWidth // Horizontal bars extend via height, not width
return baseWidth + root.attachmentOverlap
return baseWidth + root.attachmentOverlap + 1
}
height: {
var baseHeight = root.barIsVertical ? (parent.height - root.barMarginV * 2) : Style.barHeight