From fe56fa587a18b2f6424e4bb3c56a4b23472994de Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 9 Oct 2019 14:17:54 -0500 Subject: 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 --- mobile-widgets/qml/main.qml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index f06863dbd..02d763e49 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -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 -- cgit v1.2.3-70-g09d2