[wxPython] layout manager?

Vadim Zeitlin zeitlin at seth.lpthe.jussieu.fr
Wed Jun 13 15:22:44 EDT 2001


On Mon, 11 Jun 2001 23:03:27 GMT, Robert Amesz <rcameszREMOVETHIS at dds.removethistoo.nl> wrote:
>WxLayoutConstraints is the most flexible of the layout managers, 

 But you shouldn't use them unless you are absolutely sure that you can't
achieve the desired layout with sizers (which probably just means that your
layout is way too complicated). The sizers are much easier to use and are by
far the preferred layout mechanism in wxWindows 2.2.

>wxBoxSizers is fine if you simply want a row or column of things. The 
>one trick wxBoxSizers can do which WxLayoutConstraints lacks is the 
>ability to fix the aspect ratio of a resizable subwindow.

 The constraints can do it, of course - just don't use them for it :-)

 Regards,
VZ
-- 
GCS/GM d? H+ s++:-- p2 au--- a- w+ v C+++ UBLS+++ P- L++ N++ E--- W++++ M? V--
-po+ R++ G`` !tv b+++ D--- e++++ u++ h--- f+ r++ n- y?



More information about the Python-list mailing list