From 12ac75c7dd2d94075c1b63b4113db3dcf08df935 Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Sat, 8 Jul 2017 14:20:48 +0200 Subject: QML UI: Proper button color Make the "map it" button follow the theme color. Signed-off-by: Joakim Bygdell --- mobile-widgets/qml/DiveDetailsView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml index 95aed5a47..c8c7e3a55 100644 --- a/mobile-widgets/qml/DiveDetailsView.qml +++ b/mobile-widgets/qml/DiveDetailsView.qml @@ -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 -- cgit v1.2.3-70-g09d2