X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debc914bdccd720336f7fc6d82c1f2a704197f6a..d6c6a32321219a3a2961e7f1ee1a8d2d54dc5cdf:/docs/latex/wx/flexsizr.tex diff --git a/docs/latex/wx/flexsizr.tex b/docs/latex/wx/flexsizr.tex index 6b85373992..92c1f8d5c2 100644 --- a/docs/latex/wx/flexsizr.tex +++ b/docs/latex/wx/flexsizr.tex @@ -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}