## wxGridSizer

A grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields having the same size, i.e. the width of each field is the width of the widest child, the height of each field is the height of the tallest child.

Derived from

wxSizer
wxObject

wxGridSizer::wxGridSizer

### wxGridSizer::wxGridSizer

wxGridSizer(int cols, int rows, int vgap, int hgap)

wxGridSizer(int cols, int vgap = 0, int hgap = 0)

Constructor for a wxGridSizer. rows and cols determine the number of columns and rows in the sizer - if either of the parameters is zero, it will be calculated to form the total number of children in the sizer, thus making the sizer grow dynamically. vgap and hgap define extra space between all children.