aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-05 09:42:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-05 09:42:42 -0700
commit77e83e88432844d46cea2aef9f044945ebe66334 (patch)
tree5eb6245da389b56615380f5fd0cd3a297d40338c /mobile-widgets
parentad2ac58ea2c7a696227b2db243a76adb633158dd (diff)
downloadsubsurface-77e83e88432844d46cea2aef9f044945ebe66334.tar.gz
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>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml
index f4f6ea28b..2bc62dbe3 100644
--- a/mobile-widgets/qml/main.qml
+++ b/mobile-widgets/qml/main.qml
@@ -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