I want to put a button on a statusbar, so I used the
EnhancedStatusbar from Andrea.By the way, thanks to
Andrea and others for sharing their knowledge and work.
I want to put a button on a statusbar, so I used the EnhancedStatusbar from Andrea.By the way, thanks to
Andrea and others for sharing their knowledge and work.
Consequently, after the creation of the button, I tried to
reduce its size using:
button.SetMinSize((50,5))
button.Layout()
which does nothing and also by putting (after I have added the button to the sizer):
Sizer.SetItemMinSize(button,50,5)
At the end, the result is worse than before (the button seems to go a little bit down on tha statusbar).
Mac buttons also can't change their height. You might want to try using a bitmap button instead because it's height can change. Or perhaps the wx.lib.buttons.ThemedGenButton would be a good choice.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
Mac buttons also can't change their height. You might want to try using
a bitmap button instead because it's height can change. Or perhaps the
wx.lib.buttons.ThemedGenButton would be a good choice.
OK ...!!! I better understand now...
I was thinking about putting a bitmap also. I'll try your advice.
Thank you very much Robin