aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-01 16:54:22 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-01 16:54:22 -0500
commit74f8d502648c6c6a20c1d2f66a1880079ceafad9 (patch)
treed1761bec291a62d5905f13a2047900d42dee9d4e /qt-mobile
parentfba14709bc0ffd5d434886bcb2383a119efb18f2 (diff)
downloadsubsurface-74f8d502648c6c6a20c1d2f66a1880079ceafad9.tar.gz
QML UI: use the new Kirigami option to control the title bar sizes
I liked the default and the fact that it disappeared completely, but the big size was a bit too much... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile')
-rw-r--r--qt-mobile/qml/main.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 150e9769f..6b2786561 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -11,6 +11,10 @@ import org.kde.kirigami 1.0 as Kirigami
Kirigami.ApplicationWindow {
id: rootItem
title: qsTr("Subsurface-mobile")
+
+ header.minimumHeight: 0
+ header.preferredHeight: Kirigami.Units.gridUnit
+ header.maximumHeight: Kirigami.Units.gridUnit * 2
property bool fullscreen: true
property int oldStatus: -1
property alias accessingCloud: manager.accessingCloud