[wxPython] Controls in Toolbar; Drawing Problem

Controls in Toolbar; Drawing Problem
I’ve got a curious problem when adding controls to the toolbar. If you take a quick look at the attached GIF, you’ll see what looks like a seperator being drawn in the background at the center of controls that don’t fill the whole toolbar vertically. (You might want to look at the GIF then reread that last bit!)

The problem is most pronounced on StaticText (the one I initially tried to use,) but is also visible in checkboxes and sized Gauges.

Is this a bug or an oversight?

<<tbdp.gif>>

Regards

Steve

`

tbdp.gif

···

=========================================================

This electronic message contains information from the mmO2 plc Group

which may be privileged or confidential. The information is intended to be

for the use of the individual(s) or entity named above. If you are not the

intended recipient be aware that any disclosure, copying, distribution or

use of the contents of this information is prohibited. If you have received

this electronic message in error, please notify us by telephone or email

(to the numbers or address above) immediately.

=========================================================

`

I've got a curious problem when adding controls to the toolbar. If you

take

a quick look at the attached GIF, you'll see what looks like a seperator
being drawn in the background at the center of controls that don't fill

the

whole toolbar vertically.

Unfortunately the native toolbar has to be fooled into making space for the
controls by adding separators behind them. The only consolation I can offer
is that you can sometimes see this in Microsoft applications too!

Perhaps you can make your own wxControl that has the static text and whatnot
on it, but which is taller than the static text so it will hide the
separator...

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!