Actually, if you run the code supplied
in the original post (both the supplied and slightly altered versions),
the lines cross just fine. They just look terrible in some other way.
It seems that with a GridBagSizer only
the endpoints of the staticline need to be unoccupied. If this is abnormal
behavior (I can see how it would be) then I don’t know what to say.
-Brian
Brian Fett
1280 Disc Dr
SHK224
Shakopee, MN 55379
Phone: (952)402-2595
Robin Dunn robin@alldunn.com
Sent by: wxpython-users-bounces+brian.d.fett=seagate.com@lists.wxwidgets.org
No Phone Info Available
07/14/2008 03:16 PM
Please respond to
wxpython-users@lists.wxwidgets.org
To
wxpython-users@lists.wxwidgets.org
cc
Subject
Re: [wxpython-users] wx.StaticLine in
a sizer - resizes poorly
Thank you, but there is a problem with this solution: static lines
are
allowed to cross, sizers (unless I am understanding things wrong)
are
not allowed to cross. Since I would like the lines to make a cross
formation in the center, I don’t think that the sizer container option
will suffice.
Well, you wouldn’t be able have them cross with just a grid sizer (of
any type) either because the sizers don’t work that way. You’ll
probably have to manually maintain their position and size.
···
`brian.d.fett@seagate.com wrote:
–
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
`