X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..0e300ddd7d91d46e3d9fcbbefe916b0fda6fcbbc:/docs/latex/wx/layout.tex diff --git a/docs/latex/wx/layout.tex b/docs/latex/wx/layout.tex index 31ec86c587..ac9f3bffc3 100644 --- a/docs/latex/wx/layout.tex +++ b/docs/latex/wx/layout.tex @@ -26,6 +26,14 @@ 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}