wxPython - which is the better sizer to use with notebook

C

Chris Brat

Hi,

What sizers do people use to
- contain the notebook control in a Frame and,
- contain the contents of a single page of the notebook.

At the moment Im using a GridBagSizer for both but this seems to be
overkill.
Is a BoxSizer a better option?

Thanks
Chris
 
S

SPE - Stani's Python Editor

Chris Brat schreef:
Hi,

What sizers do people use to
- contain the notebook control in a Frame and,
- contain the contents of a single page of the notebook.

At the moment Im using a GridBagSizer for both but this seems to be
overkill.
Is a BoxSizer a better option?

Yes, use box sizer if you have to place only one control or when you
need to place a row or column of controls.

Stani
 
J

John Salerno

SPE said:
Chris Brat schreef:


Yes, use box sizer if you have to place only one control or when you
need to place a row or column of controls.

And you don't need to specify an orientation either (vertical or
horizontal), since it doesn't matter. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top