This commit is contained in:
Damocles 2026-04-12 15:58:13 +02:00
parent 4df704844e
commit 9e1716aa39
14 changed files with 154 additions and 102 deletions

View file

@ -20,10 +20,7 @@ PanelWindow {
// Flush below bar, centered on hovered item
margins.top: 0
margins.left: Math.max(0, Math.min(
Math.round(M.FlyoutState.itemX - implicitWidth / 2),
screen.width - implicitWidth
))
margins.left: Math.max(0, Math.min(Math.round(M.FlyoutState.itemX - implicitWidth / 2), screen.width - implicitWidth))
implicitWidth: label.implicitWidth + M.Theme.barPadding * 2
implicitHeight: label.implicitHeight + M.Theme.barPadding * 2