From 74f8d502648c6c6a20c1d2f66a1880079ceafad9 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 1 Apr 2016 16:54:22 -0500 Subject: 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 --- qt-mobile/qml/main.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt-mobile/qml') 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 -- cgit v1.2.3-70-g09d2