QML UI: keep the title bar larger on iOS

This is where the back button is located on iOS.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-04-05 09:42:42 -07:00
parent ad2ac58ea2
commit 77e83e8843

View file

@ -13,7 +13,7 @@ Kirigami.ApplicationWindow {
title: qsTr("Subsurface-mobile")
header.minimumHeight: 0
header.preferredHeight: Kirigami.Units.gridUnit
header.preferredHeight: Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1)
header.maximumHeight: Kirigami.Units.gridUnit * 2
property bool fullscreen: true
property int oldStatus: -1