Better theme for dive list view

Set a rounded blue rectangle on the selected item.

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Grace Karanja 2015-06-10 18:19:19 +03:00 committed by Dirk Hohndel
parent b7e4b35cde
commit 28ab1f6413

View file

@ -69,7 +69,8 @@ ApplicationWindow {
id: highlightBar
Rectangle {
width: parent.width; height: 50
color: "#FFFF88"
color: "lightsteelblue"
radius: 5
y: diveListView.currentItem.y;
Behavior on y { SpringAnimation { spring: 2; damping: 0.1 } }
}