diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-02-06 08:17:54 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-06 21:45:00 -0800 |
commit | 0f33aee1af41f88c2ded6a7f6a6eebcc922b286c (patch) | |
tree | ed1a082821c3647e56fed615e6d02cc4b0d3cffb /mobile-widgets/qml/Settings.qml | |
parent | f532aae2e985bf55026b3d0e60ed1854e9e621b1 (diff) | |
download | subsurface-0f33aee1af41f88c2ded6a7f6a6eebcc922b286c.tar.gz |
mobile/settings: correctly set label background
The TemplateLabel comes with a set background color which creates a very odd
effect and makes the text generally unreadable in the color swatches.
Fix this by matching the color of the parent rectangle.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/Settings.qml')
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 294957c01..8df9e6bf9 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -167,6 +167,7 @@ TemplatePage { TemplateLabel { text: qsTr("background") color: "black" + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -179,6 +180,7 @@ TemplatePage { TemplateLabel { text: qsTr("text") color: subsurfaceTheme.textColor + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -195,6 +197,7 @@ TemplatePage { TemplateLabel { text: qsTr("primary") color: "black" + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -209,6 +212,7 @@ TemplatePage { TemplateLabel { text: qsTr("text") color: subsurfaceTheme.primaryTextColor + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -225,6 +229,7 @@ TemplatePage { TemplateLabel { text: qsTr("darker primary") color: "black" + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -239,6 +244,7 @@ TemplatePage { TemplateLabel { text: qsTr("text") color: subsurfaceTheme.darkerPrimaryTextColor + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -255,6 +261,7 @@ TemplatePage { TemplateLabel { text: qsTr("light primary") color: "black" + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -269,6 +276,7 @@ TemplatePage { TemplateLabel { text: qsTr("text") color: subsurfaceTheme.lightPrimaryTextColor + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -288,6 +296,7 @@ TemplatePage { TemplateLabel { text: qsTr("secondary text") color: subsurfaceTheme.secondaryTextColor + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } @@ -304,6 +313,7 @@ TemplatePage { TemplateLabel { text: qsTr("drawer") color: "black" + colorBackground: parent.color anchors.horizontalCenter: parent.horizontalCenter anchors.verticalCenter: parent.verticalCenter } |