[wxPython-users] big difference in appearance between Windows and
Linux
Andrea Gavana
andrea.gavana at gmail.com
Mon Dec 10 05:23:00 PST 2007
Hi Paul,
On Dec 10, 2007 12:58 PM, Paul Sijben wrote:
> Hi all,
>
> After developing my app on Windows XP for a while I recently started
> running my app on Linux again (Ubuntu 7.10 to be exact using the
> wxPython 2.8 that comes with it).
>
> I noticed a big difference in appearance on the two platforms. For
> instance, the font in tabs and buttons is much larger and also the
> colors I am setting in a number of places are not visible.
If you are using standard widgets (i.e., not owner-drawn), fonts and
colours are provided by the underlying platform and/or theme. As for
the colours, as far as I know GTK (or some themes in GTK) doesn't
allow to change background/foreground colour for some of the widgets.
I don't know which one they are, but I remember seeing some posts
about the non-effectiveness of SetBackgroundColour() on some widgets
on GTK.
> I am probably not the first one to run into this. Are there
> best-practices to avoid this? Is there a list of known pitfalls?
There is something here:
http://wiki.wxpython.org/wxPython_Platform_Inconsistencies
But it's far from complete.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
More information about the wxpython-users
mailing list