X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15f7c30516facfb272fc116aec4d3f9c3a9de085..85136e3bf5dadf921652519e71da5db351fb3194:/docs/latex/wx/wrapsizer.tex diff --git a/docs/latex/wx/wrapsizer.tex b/docs/latex/wx/wrapsizer.tex index 46d5e03bc3..580fd6b3db 100644 --- a/docs/latex/wx/wrapsizer.tex +++ b/docs/latex/wx/wrapsizer.tex @@ -1,8 +1,9 @@ \section{\class{wxWrapSizer}}\label{wxwrapsizer} -A wrap sizer lays out its items in a single line, like a box sizer - as long +A wrap sizer lays out its items in a single line, like a box sizer -- as long as there is space available in that direction. Once all available space in -the primary direction has been used a new line is added an items are added there. +the primary direction has been used, a new line is added and items are added +there. So a wrap sizer has a primary orientation for adding items, and adds lines as needed in the secondary direction. @@ -33,10 +34,11 @@ as needed in the secondary direction. \func{}{wxWrapSizer}{\param{int }{orient}, \param{int }{flags}} -Constructor for a wxWrapSizer. {\it orient} determines the primary direction of -the sizer (the most common case being wxHORIZONTAL). The flags parameter may have -the value wxEXTEND_LAST_ON_EACH_LINE. This will cause the last item one each line -to use any remaining space on that line. +Constructor for a wxWrapSizer. \arg{orient} determines the primary direction of +the sizer (the most common case being \texttt{wxHORIZONTAL}). The flags +parameter may have the value \texttt{wxEXTEND\_LAST\_ON\_EACH\_LINE} which will +cause the last item on each line to use any remaining space on that line. + \membersection{wxWrapSizer::InformFirstDirection}\label{wxwrapsizerinformfirstdirection}