mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Adapt to Kirigami api changes
* add new file AbstractApplicationHeader.qml to the qrc * add new file AbstractApplicationWindow.qml to the qrc * use new api for custom ApplicationHeader header: Kirigami.ApplicationHeader { minimumHeight: 0 preferredHeight: Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1) maximumHeight: Kirigami.Units.gridUnit * 2 } Signed-off-by: Marco Martin <notmart@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bc28944abb
commit
7d9c306685
2 changed files with 8 additions and 4 deletions
|
@ -12,9 +12,11 @@ Kirigami.ApplicationWindow {
|
|||
id: rootItem
|
||||
title: qsTr("Subsurface-mobile")
|
||||
|
||||
header.minimumHeight: 0
|
||||
header.preferredHeight: Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1)
|
||||
header.maximumHeight: Kirigami.Units.gridUnit * 2
|
||||
header: Kirigami.ApplicationHeader {
|
||||
minimumHeight: 0
|
||||
preferredHeight: Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1)
|
||||
maximumHeight: Kirigami.Units.gridUnit * 2
|
||||
}
|
||||
property bool fullscreen: true
|
||||
property alias oldStatus: manager.oldStatus
|
||||
property alias accessingCloud: manager.accessingCloud
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue