Windows/Linux buttons look
Basil Shubin
bashu at yandex.ru
Mon Jan 1 23:49:14 PST 2007
Robin Dunn пишет:
> Basil Shubin wrote:
>> Hi friends and Happy New Year!
>>
>> On linux system buttons in disabled state, looks like REALLY disabled
>> buttons, but on windows they are still looks like active. This is
>> correct behavior? Can I fix it?
>
> I assume it is a wx.BitmapButton, right? What styles do you use when
> creating the button? Is it windows XP? If so then I think that the
> default way to show the button as disabled is to change the standard
> border by removing the 3D effect, I don't remember if that was the same
> with previous versions of Windows. But you don't appear to be showing
> the border at all so if that's the case then you may need to supply the
> disabled bitmap that you want instead.
Thanks, I just remove wx.NO_BORDER style from buttons.
--
Basil Shubin
Freelance Software Developer
http://bashu.wordpress.com
More information about the wxpython-users
mailing list