When wxGrid is used on Windows in dark mode (i.e., the cell background is black), the grid lines are not visible in the grid itself. The grid lines are visible in column and row headers (but perhaps too bright?):

FWIW, both Microsoft Office Excel and LibreOffice Calc (in their last versions) show the grid itself white even when the Windows is in the dark mode and they are set to use the system theme (since the documents are often printed?):


I cannot test how wxGrid and Excel/Calc look on Linux or macOS.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
I have also noticed another wxGrid dark mode issue. The lines for the columns and rows headers and the grid itself are not aligned (off by one pixel or so). This can be tested with unmodified grid sample, changing grid line colour from its Colours menu.

vs

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
I'm not sure what colours should be used for the grid in dark mode. Any opinions?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
My preference would be to match macOS for consistency, but not sure it matters. The borders around the headers and everything would need adjusting.

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Sorry, but what does macOS use?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Actually, not sure it would work on Windows. On macOS, the row/col headers seem to be a lighter 0x32 grey (I assume wxSYS_COLOUR_BTNFACE) and the background of the cells are a darker 0x1E ( I assume wxSYS_COLOUR_LISTBOX). The gridlines match the row/col headers. The 3d highlight on the headers are 0x26 and 0x42.
Windows doesn't seem to use different colors for the headers compared to the cells. Thus, using the header color wouldn't work there.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()