pyfa-org / Pyfa

Python fitting assistant, cross-platform fitting tool for EVE Online
GNU General Public License v3.0
1.61k stars 406 forks source link

Improve AutoListCtrl legibility in dark mode #2558

Closed fruitchewy closed 9 months ago

fruitchewy commented 9 months ago

WxWidgets in theory respects system-level dark modes, and most of the components behave in a sane way by default. listmix.ListRowHighlighter however mixes SYS_COLOUR_LISTBOX with SYS_COLOUR_HIGHLIGHT, which has a very different effect with dark system colors resulting in half of the rows being illegible with the intended white font. This change manually overrides ListRowHighlighter's highlight colour with a lightened SYS_COLOUR_LISTBOX when in dark mode.

Before: image

After:

image
DarkFenX commented 9 months ago

Thanks