]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/flexsizr.tex
fixed bug in mouse handling
[wxWidgets.git] / docs / latex / wx / flexsizr.tex
1 \section{\class{wxFlexGridSizer}}\label{wxflexgridsizer}
2
3 A flex grid sizer is a sizer which lays out its children in a two-dimensional
4 table with all table fields in one row having the same
5 height and all fields in one column having the same width.
6
7 \wxheading{Derived from}
8
9 \helpref{wxGridSizer}{wxsizer}\\
10 \helpref{wxSizer}{wxsizer}\\
11 \helpref{wxObject}{wxobject}
12
13 \membersection{wxFlexGridSizer::wxFlexGridSizer}\label{wxflexgridsizerwxflexgridsizer}
14
15 \func{}{wxFlexGridSizer}{\param{int }{rows}, \param{int }{cols}, \param{int }{vgap}, \param{int }{hgap}}
16
17 \func{}{wxFlexGridSizer}{\param{int }{cols}, \param{int }{vgap = 0}, \param{int }{hgap = 0}}
18
19 Constructor for a wxGridSizer. {\it rows} and {\it cols} determine the number of
20 columns and rows in the sizer - if either of the parameters is zero, it will be
21 calculated to form the total number of children in the sizer, thus making the
22 sizer grow dynamically. {\it vgap} and {\it hgap} define extra space between
23 all children.
24