[wxPython-users] big difference in appearance between Windows and Linux

Paul Sijben sijben at eemvalley.com
Mon Dec 10 06:02:38 PST 2007


Andrea,

thanks for the info. I guess even wx is not safe from the Murphy derivative;
platform independent toolkits aren't ;-)

Andrea Gavana wrote:
> 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/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>   =


-- =

Paul Sijben                    	tel: +31334566488
Eemvalley Technology BV       	fax: +31334557523
the Netherlands                	http://eemvalley.com    =

-----------------------------------------------------
EemValley Technology zoek python & wxpython =

programmeurs: http://www.eemvalley.nl/jobs

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200712=
10/e114e296/attachment.htm


More information about the wxpython-users mailing list