[wxPython] combining sizers and constraints

wxPyrts,

Is it possible to mix sizers and constraints in the same app?

e.g.

- a wxFrame contains a wxPanel constrained to the upper part and a wxPanel constrained to the
bottom part (bottom panel is of a fixed height, upper panel's bottom is fixed to bottom panel's top).
- the upper wxPanel contains a wxBoxSizer, and into the sizer are Add()ed various other panels.

I would think that inside the upper panel, the sizer would do its job, and outside, the constraints
would do theirs - is this correct?

···

--
Shi Sherebrin
Research Programmer
Imaging Labs, Robarts Research Institute
phone:(519)685-8500 x34097 email:shi@imaging.robarts.ca

Shi Sherebrin wrote:
>
> Is it possible to mix sizers and constraints in the same app?
>
> e.g.
>
> - a wxFrame contains a wxPanel constrained to the upper part and a
> wxPanel constrained to the bottom part (bottom panel is of a fixed
> height, upper panel's bottom is fixed to bottom panel's top). - the
> upper wxPanel contains a wxBoxSizer, and into the sizer are Add()ed
> various other panels.
>
> I would think that inside the upper panel, the sizer would do its
> job, and outside, the constraints would do theirs - is this correct?

I believe so. Have you tried it?

···

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