Should you use a master sizer object?

John Salerno wrote:

Hi everyone. I'm just starting out with wxPython and I was wondering,
is it recommended to always have a top-level sizer in which you place
all other sizers, or is it acceptable to have mulitple sizers that are
not grouped together?

A window can have only one sizer associated with it, so if your layout needs more than what a single sizer can do by itself then you need to nest other sizers within a top level one.

···

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

If you're not that familiar with the Dabo project, you should check it
out. Being used to wxPython, it seems a little "different" at first,
but after you get used to the simplified syntax and event model, its
so much better than using raw wxPython. I feel like I'm getting all
the cool stuff in wxPython without all the PITA stuff.

···

On 6/10/06, John Salerno <johnjsal@gmail.com> wrote:

The screencasts were *very* helpful -- thanks!

--

# p.d.