my first post here in the forum, although I’ve been reading along for a long time.
But your question sounds very familiar to me: I also thought that there were no lines in dark mode.
But in fact they are there, unfortunately the colors are chosen in such a way that you can hardly recognize them.
Please take a closer look, I have to be right in front of the screen to see the lines.
Alternatively, you can set the cell color to a lighter color, then you can also see the lines.
as Carsten said, the lines are there but everything is very dark and is not obvious. Light mode is obvious with/without grid lines, dark mode is not obvious the difference. I think the grid lines should be lighter on dark mode to be more visible.
Even ligh mode, the lines are just visible to near invisible depending on the reader’s age …
This is the new fashion: produce text/background with the minimum contrast, so youngsters can read, other go away, nothing to see here.
Look at the SmartPhone screen too…
Examples: text in light yellow (or white), background in lightcyan (electronics - mouse for example-, fresh meal, etc.)
This is why I set default height to 20, and use this code in PaintCellBackground event of Listboxes:
If Me.SelectedRowIndex = row Then
// let Xojo draw selection
Else
If row Mod 2 = 0 Then
g.ForeColor = ColorGroup.NamedColor("primaryContentBackgroundColor")
Else
g.ForeColor = ColorGroup.NamedColor("secondaryContentBackgroundColor")
End If
g.FillRect 0, 0, g.Width, g.Height
End If
This way I get list boxes whose appearance matches what I see in the finder and don’t have to worry about tiny little lines disappearing.
It looks like the gridlines are related to the color used as the separator between a window’s titlebar and content. It’s supposed to be that color and it’s already near impossible to see.
Turn on High Contrast mode with System Settings > Accessibility > Display > Increase Contrast and you’ll get to see the grid lines.
It seems to be an Apple color choice that I strongly disagree with. You’ll notice this separator color is black in normal low-contrast mode. I find the entire operating system impossible to use without High Contrast enabled.