mirror of
https://github.com/overte-org/overte.git
synced 2025-07-22 16:13:34 +02:00
Toolbar at bottom
This commit is contained in:
parent
ee1738adac
commit
cacb9359c2
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ OriginalDesktop.Desktop {
|
|||
}
|
||||
}
|
||||
|
||||
Component { id: toolbarBuilder; Toolbar { } }
|
||||
Component { id: toolbarBuilder; Toolbar { y: desktop.y - 50 } }
|
||||
// This used to create sysToolbar dynamically with a call to getToolbar() within onCompleted.
|
||||
// Beginning with QT 5.6, this stopped working, as anything added to toolbars too early got
|
||||
// wiped during startup.
|
||||
|
@ -47,7 +47,7 @@ OriginalDesktop.Desktop {
|
|||
anchors.horizontalCenter: settings.constrainToolbarToCenterX ? desktop.horizontalCenter : undefined;
|
||||
// Literal 50 is overwritten by settings from previous session, and sysToolbar.x comes from settings when not constrained.
|
||||
x: sysToolbar.x
|
||||
y: 50
|
||||
y: desktop.height - 50 - height
|
||||
buttonModel: tablet.buttons;
|
||||
shown: tablet.toolbarMode;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue