Mobile QML UI: fix background colors

For some reason, after the update of the main.qml to version 2.2,
all Kirigami Pages and scrollablePages show up plain white.

So now, set a proper background for these pages.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2018-02-16 11:17:20 +01:00
parent 01188905ae
commit 65d80d3cd0
8 changed files with 8 additions and 0 deletions

View file

@ -8,6 +8,7 @@ Kirigami.ScrollablePage {
id: aboutPage
property int pageWidth: aboutPage.width - aboutPage.leftPadding - aboutPage.rightPadding
title: qsTr("About Subsurface-mobile")
background: Rectangle { color: subsurfaceTheme.backgroundColor }
ColumnLayout {
spacing: Kirigami.Units.largeSpacing