[wxGTK 2.8.7] wxStatusBar text colour

Robert Roebling robert at roebling.de
Sun Dec 2 10:44:16 PST 2007


>
> > In what colour do native GTK+ apps draw their colour? That of a
> > GtkLabel? Put differently, does a wxStaticText use the colour
> > that wxStatusBar should use?
> 
> Hello,
> 
> My GTK+ experience is zero, so I will have to reply to the second part 
> indirectly.
> 
> This is what my wxWidgets app looks like
> http://www.arnholm.org/tmp/astro_theme_kde.jpg
> 
> using these settings
> http://www.arnholm.org/tmp/kde_system_settings.png
> 
> It appears that the "Standard Text" colour setting is currently used 
> everywhere, except in the wxStatusBar. On closer inspection I think this is 
> not quite as correct as I thought at first, there should really be different 
> colours for
> 
> Button text
> Window text
> Standard text
> 
> When I change the KDE colour for "Window text", a presumably native 
> application such as Kontact (?) uses that setting for menu text colour and 
> for its status bar text colour. It seems it also uses the same colour for 
> what would be a wxStaticText in wxWidgets.

Well, it is going to be difficult to match KDE system colours to
GTK+ and then to wxWidgets without problems, but the current
default is that the text foregrund colour of all DCs in wxWidgets
is black - always. Obviously, there are places and themes, where
this is wrong. This also begs the question if we should fix that
for wxStatusBar only or for which other windows/widgets/controls?

  Robert






More information about the wx-users mailing list