QML UI: Proper button color

Make the "map it" button follow the theme color.

Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
Joakim Bygdell 2017-07-08 14:20:48 +02:00 committed by Dirk Hohndel
parent b1f4a2975f
commit 12ac75c7dd

View file

@ -59,7 +59,7 @@ Item {
id: gpsButton
height: Math.round(1.5 * Kirigami.Units.gridUnit)
width: dive.gps == "" ? 0 : buttonText.width + Kirigami.Units.gridUnit
color: subsurfaceTheme.darkPrimaryColor
color: subsurfaceTheme.darkerPrimaryColor
antialiasing: true
radius: Kirigami.Units.smallSpacing * 2
anchors {
@ -70,7 +70,7 @@ Item {
Kirigami.Label {
id: buttonText
text: qsTr("Map it")
color: subsurfaceTheme.darkPrimaryTextColor
color: subsurfaceTheme.darkerPrimaryTextColor
anchors {
horizontalCenter: parent.horizontalCenter
verticalCenter: parent.verticalCenter