wxBoxSizer

BlitzMax Modules Forums/Brucey's Modules/wxBoxSizer

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yeah, it takes a bit of getting used to, but once you do it's very quick to make some quite complex layouts.

And the nice thing with sizers is that they'll shuffle themselves around when you run the same app on a different platform (or with different themes), so the layout should always look right no matter the default control sizes.

The other sizers, Grid, FlexGrid etc, help you to lay things out where you want separate columns, yet you also want the rows of controls to be lined up also.
wxCodeGen uses one on the first page to line up the labels and textfields nicely.