]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/gridsizr.tex
implemented wxDisplaySizeMM for gtk, msw & motif.
[wxWidgets.git] / docs / latex / wx / gridsizr.tex
CommitLineData
f6bcfd97
BP
1\section{\class{wxGridSizer}}\label{wxgridsizer}
2
3A grid sizer is a sizer which lays out its children in a two-dimensional
4table with all table fields having the same size,
5i.e. the width of each field is the width of the widest child,
6the height of each field is the height of the tallest child.
7
8\wxheading{Derived from}
9
10\helpref{wxSizer}{wxsizer}\\
11\helpref{wxObject}{wxobject}
12
13\membersection{wxGridSizer::wxGridSizer}\label{wxgridsizerwxgridsizer}
14
136edc27 15\func{}{wxGridSizer}{\param{int }{cols}, \param{int }{rows}, \param{int }{vgap}, \param{int }{hgap}}
f6bcfd97
BP
16
17\func{}{wxGridSizer}{\param{int }{cols}, \param{int }{vgap = 0}, \param{int }{hgap = 0}}
18
19Constructor for a wxGridSizer. {\it rows} and {\it cols} determine the number of
20columns and rows in the sizer - if either of the parameters is zero, it will be
21calculated to form the total number of children in the sizer, thus making the
22sizer grow dynamically. {\it vgap} and {\it hgap} define extra space between
23all children.
24