native: make the collums altenate colors
This commit is contained in:
parent
c0a84f9bc8
commit
6c48ccd73b
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ Rectangle {
|
||||||
delegate: Rectangle {
|
delegate: Rectangle {
|
||||||
width: listView.width
|
width: listView.width
|
||||||
height: 50
|
height: 50
|
||||||
color: getColors().button
|
color: (index % 2 === 0) ? getColors().button : getColors().highlight // Alternating row colors
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
Loading…
Reference in a new issue