mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
fba14709bc
commit
74f8d50264
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,10 @@ import org.kde.kirigami 1.0 as Kirigami
|
||||||
Kirigami.ApplicationWindow {
|
Kirigami.ApplicationWindow {
|
||||||
id: rootItem
|
id: rootItem
|
||||||
title: qsTr("Subsurface-mobile")
|
title: qsTr("Subsurface-mobile")
|
||||||
|
|
||||||
|
header.minimumHeight: 0
|
||||||
|
header.preferredHeight: Kirigami.Units.gridUnit
|
||||||
|
header.maximumHeight: Kirigami.Units.gridUnit * 2
|
||||||
property bool fullscreen: true
|
property bool fullscreen: true
|
||||||
property int oldStatus: -1
|
property int oldStatus: -1
|
||||||
property alias accessingCloud: manager.accessingCloud
|
property alias accessingCloud: manager.accessingCloud
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue