Torsten Sadowski wrote:
Hi,
when using closely spaced buttons under OSX I noticed, that on MouseDown
a larger area than the button area is repainted which damages adjacent
controls. Either the redraw area or the size used by the layout tools
(sizers and layoutconstraints) has to be changed. This is only cosmetic
but ugly.
Yep, for some types of controls Aqua draws decorations around the outside of the actual widget. They don't think this is a bug because the Apple Human Interface Guidelines stipulate that there be a certain minumum amount of empty space around all widgets. The easiest thing to do work around this is to just give every item in the sizer a border=5 and add wxALL to the flags.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!