Layouts & Sizers In WxPython Clearly Explained! | WxPython Tutorial Part 2

Опубликовано: 12 Март 2025
на канале: TurbineThree
2,707
40

Starter Code: https://github.com/RoyChng/wxpython-t...

In this video, we go over how to layout widgets in WxPython using sizers. We first go over why you should use them, and how to use the boxsizer to layout widgets either entirely vertically or horizontally.

We then look at using the GridBagSizer layout in WxPython, as well as how to control where our widgets are placed at using span and positioning.

Lastly, we make a simple contact form using what we've learnt, and I give a quick recap/comparison of when to use a box sizer vs a grid sizer when laying out widgets.