clipped text in staticboxsizer?

In 2.6.1.0 on windows XP, if the text label in my static box sizer is longer than the contained control, the text gets clipped. This didn't happen before. Is this a known bug? feature? Anyone know of a workaround?

Thanks
Gary Bishop

Gary Bishop wrote:

In 2.6.1.0 on windows XP, if the text label in my static box sizer is longer than the contained control, the text gets clipped. This didn't happen before. Is this a known bug? feature?

Probably a feature, or at least the side-effect of one. There were some changes to the wx.StaticBox on MSW to have it draw it's background and clip the controls contained within it in a better way than before, in order to reduce flicker.

What did it do before if the label was too long, just let it overflow the static box? If so then I think that the current behavior is better.

Anyone know of a workaround?

Use a shorter label or add spacers to the sizer so the box will be bigger.

ยทยทยท

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