Opened 11 years ago

Last modified 8 years ago

#1969 new defect

wxPy loc'n wiz: hardcoded colors not compatible with random desktop themes

Reported by: hamish Owned by: grass-dev@…
Priority: minor Milestone: 6.4.6
Component: wxGUI Version: svn-develbranch6
Keywords: location wizard, cosmetics Cc:
CPU: All Platform: All



the loc'n wizard's projections,datums,ellipsoid selection table is now offwhite-on-white & unreadable for me, since I changed to another xfce theme (nothing exotic, just another from the pre-installed list). I'm probably not the only one to ever change a desktop theme, which wx seems to be respecting, so hard-coding color choices can be problematic. code that does it visible by r53008.

thanks, Hamish

Change History (4)

comment:1 by hamish, 11 years ago

(I don't have any good solution or suggestion to resolve this, unless wx lets you query the default/existing colors, but thought it was worth mentioning)

comment:2 by cmbarton, 11 years ago

Maybe letting it go back to default colors (not specifying a background color) is best here. IIRC, it's ugly grey, but readable.


comment:3 by hamish, 11 years ago

In part, what that color setting is doing is setting up the zebra stripe in every second row of the table, a useful thing.

It would be great if we could read the existing color and XOR it, but I don't know if that's possible.


comment:4 by neteler, 8 years ago

Note: See TracTickets for help on using tickets.