distal-attribute
distal-attribute
distal-attribute
distal-attribute

Grid alternate row colours

kalvaro posted 1 year ago in General
I've just upgraded to latest snapshot in order to see the new zebra colours in data grids but it doesn't seem to be working well. Alternate colours only show up in the columns I explicitly sort by:



:-?
ansgar posted 1 year ago
No idea yet. Works perfectly here. Is it WinXP on your side?
kalvaro posted 1 year ago
Windows 7 (64 bits).

Some more info I've gathered. There're two colours to configure. I first selected a colour in the second combo and left "None" in the first one. The issue persisted even if I restarted HeidiSQL.

But as soon as I picked two colours the issue fixed—even if I revert the first combo back to "None". Perhaps it's just a migration issue.
ansgar posted 1 year ago
Yes, could be! Thanks for being so exact, makes sense now when I look into the code. Will fix.
ansgar posted 1 year ago
Code is ok, just checked.

Sorted columns have a gray background color in HeidiSQL (the darker one on your screenies). When you set both even and odd color in HeidiSQL, you don't see that sorting gray any longer. But if you only set one of both, let's say odd row background, then even rows still get that sorting gray.

My guess is also, you accidentally selected an odd color which is same or very similar to your default background color in your Windows settings (clWindow).

Everything's normal so far. But I think this can lead to real confusion here, we have too many background settings. So, I'll go and remove the sorting gray. Sorted columns still have the arrow indicator in their column header. I think I had introduced the sorting gray once I saw that in my Windows Explorer, which I do not see any longer in Win7's Explorer.
ansgar posted 1 year ago
Sorting gray removed as of r4429.

Please login to leave a reply, or register at first.