Opened 12 years ago

Last modified 9 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

Description

Hi,

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, 12 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, 12 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.

Michael

comment:3 by hamish, 12 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.

Hamish

comment:4 by neteler, 9 years ago

Milestone: 6.4.36.4.6
Note: See TracTickets for help on using tickets.