diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-02-17 09:21:25 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-02-17 21:05:33 +0100 |
commit | e7ccb7d4d99be794821f774d639c53d451ab3cd7 (patch) | |
tree | e3a0d8266333d9ff456c24123c19fc5f256c0135 | |
parent | 65d80d3cd0b5cd5b06abbe24d6d2bfa76b38b497 (diff) | |
download | subsurface-e7ccb7d4d99be794821f774d639c53d451ab3cd7.tar.gz |
Mobile QML UI: color the application header correctly
Also, this got broken after the Kirigami to verion 2.2 in main.qml.
So, set the header background color according to our theme setting.
Notice, that there is a remaining issue here. We could color the
text color in the header, but now, this seems impossible (or I
do not understand how and where to set this).
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
-rw-r--r-- | mobile-widgets/qml/main.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index b5bac7869..b6e5cfc74 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -18,6 +18,7 @@ Kirigami.ApplicationWindow { minimumHeight: 0 preferredHeight: Math.round(Kirigami.Units.gridUnit * (Qt.platform.os == "ios" ? 2 : 1.5)) maximumHeight: Kirigami.Units.gridUnit * 2 + background: Rectangle { color: subsurfaceTheme.primaryColor } } property alias oldStatus: manager.oldStatus property alias notificationText: manager.notificationText |