X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..802df2b744052c0da6353e5ad4ade2f8dfcfdab8:/docs/latex/wx/flexsizr.tex?ds=sidebyside diff --git a/docs/latex/wx/flexsizr.tex b/docs/latex/wx/flexsizr.tex index 7004c0e1fa..d7456bbc21 100644 --- a/docs/latex/wx/flexsizr.tex +++ b/docs/latex/wx/flexsizr.tex @@ -1,15 +1,21 @@ \section{\class{wxFlexGridSizer}}\label{wxflexgridsizer} A flex grid sizer is a sizer which lays out its children in a two-dimensional -table with all table fields in one row having the same -height and all fields in one column having the same width. +table with all table fields in one row having the same +height and all fields in one column having the same width, but all +rows or all columns are not necessarily the same height or width as in +the \helpref{wxGridSizer}{wxgridsizer}. \wxheading{Derived from} -\helpref{wxGridSizer}{wxsizer}\\ +\helpref{wxGridSizer}{wxgridsizer}\\ \helpref{wxSizer}{wxsizer}\\ \helpref{wxObject}{wxobject} +\wxheading{See also} + +\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview} + \membersection{wxFlexGridSizer::wxFlexGridSizer}\label{wxflexgridsizerwxflexgridsizer} \func{}{wxFlexGridSizer}{\param{int }{rows}, \param{int }{cols}, \param{int }{vgap}, \param{int }{hgap}} @@ -22,3 +28,30 @@ 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. + +\membersection{wxFlexGridSizer::AddGrowableCol}\label{wxflexgridsizeraddgrowablecol} + +\func{void}{AddGrowableCol}{\param{size\_t }{idx}} + +Specifies that column idx (starting from zero) should be grown if +there is extra space available to the sizer. + +\membersection{wxFlexGridSizer::AddGrowableRow}\label{wxflexgridsizeraddgrowablerow} + +\func{void}{AddGrowableRow}{\param{size\_t }{idx}} + +Specifies that row idx (starting from zero) should be grown if there +is extra space available to the sizer. + +\membersection{wxFlexGridSizer::RemoveGrowableCol}\label{wxflexgridsizerremovegrowablecol} + +\func{void}{RemoveGrowableCol}{\param{size\_t }{idx}} + +Specifies that column idx is no longer growable. + +\membersection{wxFlexGridSizer::RemoveGrowableRow}\label{wxflexgridsizerremovegrowablerow} + +\func{void}{RemoveGrowableRow}{\param{size\_t }{idx}} + +Specifies that row idx is no longer growable. +