136edc27f9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
25 lines
978 B
TeX
25 lines
978 B
TeX
\section{\class{wxGridSizer}}\label{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.
|
|
|
|
\wxheading{Derived from}
|
|
|
|
\helpref{wxSizer}{wxsizer}\\
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
\membersection{wxGridSizer::wxGridSizer}\label{wxgridsizerwxgridsizer}
|
|
|
|
\func{}{wxGridSizer}{\param{int }{cols}, \param{int }{rows}, \param{int }{vgap}, \param{int }{hgap}}
|
|
|
|
\func{}{wxGridSizer}{\param{int }{cols}, \param{int }{vgap = 0}, \param{int }{hgap = 0}}
|
|
|
|
Constructor for a wxGridSizer. {\it rows} and {\it 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. {\it vgap} and {\it hgap} define extra space between
|
|
all children.
|
|
|