How can I style my ScrollView items with alternating background? So that the odds have different color from the evens for example?
For list view there’s the show-alternating-row-backgrounds but I’m wondering how to get the same effect for a ScrollView?
show-alternating-row-backgrounds
Kind regards, Thunderik
I believe this is manually implemented by ListView. You would have to add uss styles manually to odd/even rows.
Thanks to Canijo I realized I could just add a “.even-list-entry” and “.odd-list-entry” when adding items to my ScrollView and then have 2 different background-color on those in the USS