]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/flexsizr.tex
Cleaned up SetMenuStrings, factoring out redo and undo label accessors at the same...
[wxWidgets.git] / docs / latex / wx / flexsizr.tex
CommitLineData
f6bcfd97
BP
1\section{\class{wxFlexGridSizer}}\label{wxflexgridsizer}
2
3A flex grid sizer is a sizer which lays out its children in a two-dimensional
f3cf3865
RD
4table with all table fields in one row having the same
5height and all fields in one column having the same width, but all
6rows or all columns are not necessarily the same height or width as in
7the \helpref{wxGridSizer}{wxgridsizer}.
f6bcfd97
BP
8
9\wxheading{Derived from}
10
f3cf3865 11\helpref{wxGridSizer}{wxgridsizer}\\
f6bcfd97
BP
12\helpref{wxSizer}{wxsizer}\\
13\helpref{wxObject}{wxobject}
14
1c0c339c
JS
15\wxheading{See also}
16
17\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}
18
f6bcfd97
BP
19\membersection{wxFlexGridSizer::wxFlexGridSizer}\label{wxflexgridsizerwxflexgridsizer}
20
21\func{}{wxFlexGridSizer}{\param{int }{rows}, \param{int }{cols}, \param{int }{vgap}, \param{int }{hgap}}
22
23\func{}{wxFlexGridSizer}{\param{int }{cols}, \param{int }{vgap = 0}, \param{int }{hgap = 0}}
24
25Constructor for a wxGridSizer. {\it rows} and {\it cols} determine the number of
26columns and rows in the sizer - if either of the parameters is zero, it will be
27calculated to form the total number of children in the sizer, thus making the
28sizer grow dynamically. {\it vgap} and {\it hgap} define extra space between
29all children.
30
f3cf3865
RD
31
32\membersection{wxFlexGridSizer::AddGrowableCol}\label{wxflexgridsizeraddgrowablecol}
33
e7240349 34\func{void}{AddGrowableCol}{\param{size\_t }{idx}}
f3cf3865
RD
35
36Specifies that column idx (starting from zero) should be grown if
37there is extra space available to the sizer.
38
39\membersection{wxFlexGridSizer::AddGrowableRow}\label{wxflexgridsizeraddgrowablerow}
40
e7240349 41\func{void}{AddGrowableRow}{\param{size\_t }{idx}}
f3cf3865
RD
42
43Specifies that row idx (starting from zero) should be grown if there
44is extra space available to the sizer.
45
46\membersection{wxFlexGridSizer::RemoveGrowableCol}\label{wxflexgridsizerremovegrowablecol}
47
e7240349 48\func{void}{RemoveGrowableCol}{\param{size\_t }{idx}}
f3cf3865
RD
49
50Specifies that column idx is no longer growable.
51
52\membersection{wxFlexGridSizer::RemoveGrowableRow}\label{wxflexgridsizerremovegrowablerow}
53
e7240349 54\func{void}{RemoveGrowableRow}{\param{size\_t }{idx}}
f3cf3865
RD
55
56Specifies that row idx is no longer growable.
57