From 6c48ccd73be039c9f14aad9418e8183b9d0ab7f3 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Thu, 11 Jul 2024 23:26:40 +0200 Subject: [PATCH] native: make the collums altenate colors --- native/MainPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/MainPage.qml b/native/MainPage.qml index 2ee8e7e..4fd807c 100644 --- a/native/MainPage.qml +++ b/native/MainPage.qml @@ -133,7 +133,7 @@ Rectangle { delegate: Rectangle { width: listView.width height: 50 - color: getColors().button + color: (index % 2 === 0) ? getColors().button : getColors().highlight // Alternating row colors RowLayout { anchors.fill: parent