fix flyout position
This commit is contained in:
parent
720d748b37
commit
983e2694a3
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ PanelWindow {
|
||||||
anchors.left: true
|
anchors.left: true
|
||||||
|
|
||||||
// Flush below bar, centered on hovered item
|
// Flush below bar, centered on hovered item
|
||||||
margins.top: M.Theme.barHeight
|
margins.top: 0
|
||||||
margins.left: Math.max(0, Math.min(
|
margins.left: Math.max(0, Math.min(
|
||||||
Math.round(M.FlyoutState.itemX - implicitWidth / 2),
|
Math.round(M.FlyoutState.itemX - implicitWidth / 2),
|
||||||
screen.width - implicitWidth
|
screen.width - implicitWidth
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue