QML UI: DiveList distinguish trip and selected dive

Making the selected dive's background less opaque prevents confusion.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-06-21 06:28:40 -07:00
parent 1d32ebd657
commit d7be3b21d6

View file

@ -31,6 +31,7 @@ Kirigami.ScrollablePage {
checked: diveListView.currentIndex === model.index
width: parent.width
height: diveListEntry.height + Kirigami.Units.smallSpacing
background.opacity: checked ? 0.4 : 1
property real detailsOpacity : 0