X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..b70b68a9ba62320a6a667f510b316219c7029d90:/docs/latex/wx/sizer.tex diff --git a/docs/latex/wx/sizer.tex b/docs/latex/wx/sizer.tex index a17b14ece8..fcb072378c 100644 --- a/docs/latex/wx/sizer.tex +++ b/docs/latex/wx/sizer.tex @@ -4,7 +4,7 @@ wxSizer is the abstract base class used for laying out subwindows in a window. Y cannot use wxSizer directly; instead, you will have to use one of the sizer classes derived from it. Currently there are \helpref{wxBoxSizer}{wxboxsizer}, \helpref{wxStaticBoxSizer}{wxstaticboxsizer}, -\helpref{wxNotebookSizer}{wxnotebooksizer}, \helpref{wxGridSizer}{wxgridsizer} +\helpref{wxGridSizer}{wxgridsizer} \helpref{wxFlexGridSizer}{wxflexgridsizer} and \helpref{wxGridBagSizer}{wxgridbagsizer}. The layout algorithm used by sizers in wxWidgets is closely related to layout @@ -107,17 +107,17 @@ dependent on the specific kind of sizer used. \windowstyle{wxALL}}{These flags are used to specify which side(s) of the sizer item the {\it border} width will apply to. } -\twocolitem{\windowstyle{wxEXAPAND}}{The item will be expanded to fill -the space allotted to the item.} +\twocolitem{\windowstyle{wxEXPAND}}{The item will be expanded to fill +the space assigned to the item.} \twocolitem{\windowstyle{wxSHAPED}}{The item will be expanded as much as possible while also maintaining its aspect ratio} -\twocolitem{\windowstyle{wxFIXED\_MINSIZE}}{Normally wxSizers will use - \helpref{GetAdjustedBestSize}{wxwindowgetadjustedbestsize} to - determin what the minimal size of window items should be, and will - use that size to calculate the layout. This allows layouts to - adjust when an item changes and it's {\it best size} becomes - different. If you would rather have a window item stay the size it - started with then use wxFIXED\_MINSIZE.} +\twocolitem{\windowstyle{wxFIXED\_MINSIZE}}{Normally wxSizers will use +\helpref{GetAdjustedBestSize}{wxwindowgetadjustedbestsize} to +determine what the minimal size of window items should be, and will +use that size to calculate the layout. This allows layouts to +adjust when an item changes and its {\it best size} becomes +different. If you would rather have a window item stay the size it +started with then use wxFIXED\_MINSIZE.} \twocolitem{\windowstyle{wxALIGN\_CENTER}\\ \windowstyle{wxALIGN\_LEFT}\\ \windowstyle{wxALIGN\_RIGHT}\\ @@ -125,8 +125,8 @@ as possible while also maintaining its aspect ratio} \windowstyle{wxALIGN\_BOTTOM}\\ \windowstyle{wxALIGN\_CENTER\_VERTICAL}\\ \windowstyle{wxALIGN\_CENTER\_HORIZONTAL}}{The wxALIGN flags allow you to - specify the alignment of the item within the space allotted to it by - the sizer, ajusted for the border if any.} +specify the alignment of the item within the space allotted to it by +the sizer, adjusted for the border if any.} \end{twocollist} }