[wxPython] size constraints for notebook pages

I kludged it. I'm having the OnSize function go through all the
children and explicitly SetSize() on them. There's got to be a better
way than that.

···

----------
Keith J. Farmer
kfarmer@thuban.org
http://www.thuban.org

-----Original Message-----
From: Robin Dunn [mailto:robin@alldunn.com]
Sent: Friday, February 01, 2002 09:43

* get the notebook and its pages to resize with the appbar
* get the appbar to properly notify the OS to move other things out of
the way

but I can't get them both to happen simultaneously.

They both seem to be working for me.

I kludged it. I'm having the OnSize function go through all the
children and explicitly SetSize() on them. There's got to be a better
way than that.

Well, that's what sizers (and constraints) are for. Are you sure you called
SetAutoLayout(true) when you tried to use them? If you are getting size
events then sizers should work.

···

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