X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..21977bac1ae09f726d1437b1b7092ae5b3f99119:/docs/latex/wx/layout.tex?ds=sidebyside diff --git a/docs/latex/wx/layout.tex b/docs/latex/wx/layout.tex index 2b9e2e5dbc..ac9f3bffc3 100644 --- a/docs/latex/wx/layout.tex +++ b/docs/latex/wx/layout.tex @@ -26,10 +26,22 @@ width and height will be used, to be compatible with panel items which often have take a default size. If the constraint is wxAsIs, the dimension will not be changed. +\perlnote{In wxPerl the constraints are accessed as +\begin{verbatim} + my( \$constraint ) = Wx::LayoutConstraints->new(); + \$constraint->centreX->AsIs(); + \$constraint->centreY->Unconstrained(); +\end{verbatim} +} + \wxheading{Derived from} \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{Overview and examples}{constraintsoverview},\rtfsp