For my next project I am looking for a sizer
that can layout an arbitrary number of panels
(of type static text + control) in the following
manner, where px designates different panels
p1 p2 p3 | | p1 p2 p3 p4
p4 p5 | resize | p5 p6
p6 p7 | window | p7 p8 p9
p8 p9 | |
so that panels are placed as many as can fit on
the first row and then starting on the next row,
not in fixed columnwidths and not with a fixed
number of columns, but where there is space
enugh for the control. Does anyone know if there
is such a sizer or if there is another way in
which to accomplish this layout?
There isn't a sizer for it but you could probably make one.
--
Robin Dunn
I probably can't but I thought I would try. In order
to do this I opened the sizer.py file and looked at how
the wxBoxSizer was made. This class seems to use "sizersc"
for most functions, but I can't find any information about
this anywhere. Where can I find information about this or
is there another (better) way to do this?
I searched for "sizersc" in the wxPython directory but
the only file I found was wx.pyd which seems to be in
som binary format.
Best regards
tf
···
-------------------------------------------------
FREE E-MAIL IN 1 MINUTE!
- your.name@pc.nu - http://www.pc.nu