wxPython - which is the better sizer to use with notebook

John Salerno johnjsal at NOSPAMgmail.com
Mon Oct 30 10:19:04 EST 2006


SPE - Stani's Python Editor wrote:
> 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.

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



More information about the Python-list mailing list