ToolBar some cross-platform weirdness
Basil Shubin
bashu at yandex.ru
Mon Jan 1 23:51:39 PST 2007
Robin Dunn пишет:
> Basil Shubin wrote:
>> Hi friends!
>>
>> On a my linux box, toolbar widget is separated from all other panels
>> by static lines, like on screenshot. But on windows box the bottom
>> line was disappeared somewhere. It this that is should be, or what?
>> Can it be fixed and how?
>
> If the native toolbar widget draws a line, then there is a line. That
> is part of the native look and feel that wxWidgets provides. If you
> want a line then you can do it by having a wx.StaticLine at the top of
> the content panel, or by giving it a border, etc.
Thanks, I have add code for checking where its run under Windows or
Linux. If we are under Windows - add static line, else if Linux - use
standart GTK widgets look (don't do anything :-) ).
--
Basil Shubin
Freelance Software Developer
http://bashu.wordpress.com
More information about the wxpython-users
mailing list