X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd330a69c9555c29c6fc448a61e58e0d49402c47..c663fbea6851207b4e0ac3e362868c23b1494a46:/docs/latex/wx/tconstr.tex diff --git a/docs/latex/wx/tconstr.tex b/docs/latex/wx/tconstr.tex index cd3fda2d90..c5c546109c 100644 --- a/docs/latex/wx/tconstr.tex +++ b/docs/latex/wx/tconstr.tex @@ -2,7 +2,7 @@ Classes: \helpref{wxLayoutConstraints}{wxlayoutconstraints}, \helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}. -{\bf Note:} constraints are now deprecated and you should use \helpref{wxSizers}{wxsizer} instead. +{\bf Note:} constraints are now deprecated and you should use \helpref{sizers}{sizeroverview} instead. Objects of class wxLayoutConstraint can be associated with a window to define the way it is laid out, with respect to its siblings or the parent. @@ -57,13 +57,13 @@ This object contains a constraint for each of the window edges, two for the cent and two for the window size. By setting some or all of these constraints appropriately, the user can achieve quite complex layout by defining relationships between windows. -In wxWindows, each window can be constrained relative to either its {\it +In wxWidgets, each window can be constrained relative to either its {\it siblings} on the same window, or the {\it parent}. The layout algorithm therefore operates in a top-down manner, finding the correct layout for the children of a window, then the layout for the grandchildren, and so on. Note that this differs markedly from native Motif layout, where constraints can ripple upwards and can eventually change the frame -window or dialog box size. We assume in wxWindows that the {\it user} is +window or dialog box size. We assume in wxWidgets that the {\it user} is always `boss' and specifies the size of the outer window, to which subwindows must conform. Obviously, this might be a limitation in some circumstances, but it suffices for most situations, and the