First page Back Continue Last page Graphics
Organizing your layout
There are various ways to do layout:
- Brute force
- All widgets are positioned and sized pixel by pixel.
- Has to be redone in every EVT_SIZE event.
- Painful, cross-platform issues.
- Layout Constraints
- Powerful, but complex and verbose.
- Deals with the relationships between widgets.
- See the docs and demo for more details.
- Sizers
- Not as flexible or complex, but powerful enough.
- Worth the pain.