translucent scrollbars
This commit is contained in:
parent
19e5a02d6e
commit
9c4799073b
3 changed files with 18 additions and 5 deletions
|
@ -8,12 +8,8 @@ Component {
|
|||
width: parent.parent.parent.width
|
||||
|
||||
Rectangle {
|
||||
property variant colors: ["#AAFFFFFF", "transparent"]
|
||||
anchors.fill: parent
|
||||
color: {
|
||||
if(item.ListView.isCurrentItem) return "transparent"
|
||||
return colors[index % 2]
|
||||
}
|
||||
color: "transparent"
|
||||
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
|
@ -57,6 +53,13 @@ Component {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
anchors.top: parent.bottom
|
||||
width: parent.width
|
||||
height: 1
|
||||
color: "lightgray"
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue