C++ GUI Programming For Beginners | Episode 13 - wxGridSizer

Опубликовано: 23 Март 2026
на канале: OttoBotCode
8,798
147

Learn how to program cross platform graphical user interfaces in C++ using wxWidgets.

This video covers another sizer in wxWidgets - the GridSizer. A wxGridSizer lays out its children in a grid. Most of the information I provided about Box Sizers carry over to Grid Sizers but there are a few surprises!

wxWidgets website:
https://www.wxwidgets.org/

Support me on Patreon:
  / ottobotcode  

Chapters:
0:00 - Plan
0:12 - Setup Controls
1:16 - Create a GridSizer
2:22 - GridSizer Layout
3:07 - Too Many Children?
3:33 - Variable Rows or Columns
4:09 - Uniform Cell Size
4:48 - Gap Between Cells
5:12 - Sizer Flags
5:27 - Proportion
6:02 - Stretch (wxEXPAND)
6:20 - Horizontal Stretch
6:39 - Vertical Stretch
6:57 - Keep Aspect Ratio (wxShaped)
7:12 - Alignment
7:39 - Borders
8:08 - Next Time...