Re: [Boa Constr] layout and sizers
Status: Beta
Brought to you by:
riaan
From: Riaan B. <riaan@e.co.za> - 2004-09-19 10:06:18
|
Hi Alex, alex rait wrote: > Hello, > I learned how to insert objects into a sizer - wether it's a grid > or some other kind of it. What I miss there is the feature I got used > to in QT - where if I resize the form, every widget inside also > adjusts itself. Yes, once your sizers and sizer items are set up all sizered controls should definitely relayout if the frame is resized. Please have a look at the Sizer example under Examples/layout/SizersInBoa.py Also look at the documentation under Docs/Sizers.html > Another thing, can a single object occupy two columns in a grid sizer? > suppose I want to have something like this: > W i d g e t************Widget > Widget***Widget****Widget**** Widget What you are looking for here sounds like the RowColSizer class, unfortunately it cannot easily be supported in Boa. Maybe you can emulate the above by using a sizer inside the first sizer to pack the three widgets below the one as in the example above. Cheers, Riaan. |