mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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 <jlmulder@xs4all.nl>
This commit is contained in:
parent
bd10a8442a
commit
01188905ae
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue