From 01188905ae05a148c6202ab1909a6f5e06d02bda Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Fri, 16 Feb 2018 09:38:24 +0100 Subject: Mobile QML UI: Divelist hover/selected colors This is subtle one. With the changing of the theme color, it appeared that the hover and selected colors in the divelist where wrong (as in, always blue-ish). This is easily solved by setting the activeBackgroundColor to our theme color, and Kirigami does the rest (tint and opaque settings for the different states a selected dive can be in). Signed-off-by: Jan Mulder --- mobile-widgets/qml/DiveList.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index cf4f99e5a..b724bdf3c 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -50,6 +50,7 @@ Kirigami.ScrollablePage { width: parent.width height: diveListEntry.height + Kirigami.Units.smallSpacing backgroundColor: checked ? subsurfaceTheme.primaryColor : subsurfaceTheme.backgroundColor + activeBackgroundColor: subsurfaceTheme.primaryColor textColor: checked ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.textColor property real detailsOpacity : 0 -- cgit v1.2.3-70-g09d2