[wxPython-users] Bad sizer selection or ?

Tony Cappellini cappy2112 at gmail.com
Wed Feb 13 10:56:04 PST 2008


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)."


---------- Forwarded message ----------
From: Robin Dunn <robin at alldunn.com>
To: wxPython-users at lists.wxwidgets.org
Date: Mon, 11 Feb 2008 17:32:24 -0800
Subject: Re: [wxPython-users] Bad sizer selection or ?
Tony Cappellini wrote:

Take a look at your desired layout and decompose it into boxes within
boxes, as in the attached, where each box in the decomposition contains
either another set of boxes, or a single widget.  If you then work from
the outside-in you can see that first we have two boxes arranged
vertically (the bluish ones) and within one of those boxes we have three
arranged horizontally (the pinkish ones) and each of those has a set of
greenish boxes arranged vertically.

Translating that into sizer-speak, we have:

blue: A vertical box sizer that has items that are a static text and a
sizer (pink).

pink: A horizontal box sizer that contains three sizers (the greens)

green1: A vertical static box sizer containing the checkbox widgets

green2 and green3: Each is a vertical box sizer containing a static text
and a combobox widget.




More information about the wxpython-users mailing list