Any type of grid sizer in wxpython that can be made to be column-major

Seth Mayfield wrote:

Hey all,

So standard GridSizer is row-major filling, in that it will fill the
row, then proceed to the next row. Is there any way to change this to be
column-major where it would fill the column, then move to the next? Here
is an illustration of what I am asking:

1 2 3 1 4 7
4 5 6 <-- standard gridsizer. 2 5 8 <---- what i am wanting
7 8 9 3 6 9

Any type of grid sizer will work; if anyone knows how to do this, i
would be greatly appreciative. The reasoning for this is i have a large
amount of checkboxes that would be easier to read in a column-major
format. I know that I could just reorder the way they are inserted into
the gridsizer to achieve this, but that seems to be a poor way to fix
this issue. Thanks again!

The wx.GridBagSizer will allow you to add items in any order in any location within the grid. You do this by specifying the row/col within the grid each time you add an item.

···

--
Robin Dunn
Software Craftsman