position correctly applets thin title tooltips

--consider also the screenEdgeMargin
pull/14/head
Michail Vourlakos 5 years ago
parent a1b8e4518a
commit 36aae05bc8

@ -31,8 +31,9 @@ Item{
property int size: 1
property int thickness: Math.min(Math.max(minimumThickness, preferredThickness), maximumThickness)
property int minimumThickness: 0
readonly property int preferredThickness: root.zoomFactor * (root.iconSize + root.thickMargins)
readonly property int preferredThickness: (root.zoomFactor * (root.iconSize + root.thickMargins)) + root.localScreenEdgeMargin
property int maximumThickness: 9999
//border.width: 1
//border.color: "green"
//color: "transparent"

Loading…
Cancel
Save