added proportion parameter to wxFlexGridSizer::AddGrowableRow/Col()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-02-27 11:55:26 +00:00
parent 702c420889
commit e8800dcfa7
4 changed files with 55 additions and 11 deletions

View File

@@ -41,18 +41,25 @@ all children.
\membersection{wxFlexGridSizer::AddGrowableCol}\label{wxflexgridsizeraddgrowablecol}
\func{void}{AddGrowableCol}{\param{size\_t }{idx}}
\func{void}{AddGrowableCol}{\param{size\_t }{idx}, \param{int }{proportion = $0$}}
Specifies that column idx (starting from zero) should be grown if
Specifies that column {\it idx} (starting from zero) should be grown if
there is extra space available to the sizer.
The {\it proportion} parameter has the same meaning as the stretch factor for
the \helpref{sizers}{sizeroverview} except that if all proportions are $0$,
then all columns are resized equally (instead of not being resized at all).
\membersection{wxFlexGridSizer::AddGrowableRow}\label{wxflexgridsizeraddgrowablerow}
\func{void}{AddGrowableRow}{\param{size\_t }{idx}}
\func{void}{AddGrowableRow}{\param{size\_t }{idx}, \param{int }{proportion = $0$}}
Specifies that row idx (starting from zero) should be grown if there
is extra space available to the sizer.
See \helpref{AddGrowableCol}{wxflexgridsizeraddgrowablecol} for the description
of {\it proportion} parameter.
\membersection{wxFlexGridSizer::GetFlexibleDirection}\label{wxflexgridsizergetflexibledrection}
\constfunc{int}{GetFlexibleDirections}{\void}