[wxPython-users] Bad sizer selection or ?
Robin Dunn
robin at alldunn.com
Wed Feb 13 14:05:19 PST 2008
Tony Cappellini wrote:
> What type of sizer (and orientation) is contained in the blue sizer,
> with the static text widget?
> I seem to be getting confused between your description of horizontal
> and vertical. In my mind, they should be the opposite, perhaps this is
> what is causing me problems.
>
> "blue: A vertical box sizer that has items that are a static text and a
> sizer (pink)."
A vertical box sizer is one that stacks the items vertically, and a
horizontal box sizer stacks the items horizontally. In the diagram the
two blue boxes are stacked vertically, and the three pink boxes are
arraigned in a horizontal "stack". Does that help?
I recommend that you play with layouts in one of the wx visual design
tools that are available, such as XRCed. That really helps a lot with
the basic understanding of how things are related to each other.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list