mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: bring back the adaptive size for the tool bar
When switching to the global tool bar this was lost, and then it turned out to be broken and required more patches to fix. Commented out because it doesn't work at all. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
56713842b9
commit
fe56fa587a
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ Kirigami.ApplicationWindow {
|
|||
|
||||
pageStack.globalToolBar.style: Kirigami.ApplicationHeaderStyle.Breadcrumb
|
||||
pageStack.globalToolBar.showNavigationButtons: (Kirigami.ApplicationHeaderStyle.ShowBackButton | Kirigami.ApplicationHeaderStyle.ShowForwardButton)
|
||||
pageStack.globalToolBar.minimumHeight: 0
|
||||
pageStack.globalToolBar.preferredHeight: Math.round(Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1.5))
|
||||
pageStack.globalToolBar.maximumHeight: Kirigami.Units.gridUnit * 2
|
||||
|
||||
property alias oldStatus: prefs.oldStatus
|
||||
property alias notificationText: manager.notificationText
|
||||
|
|
Loading…
Add table
Reference in a new issue