X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/954b8ae60391d18b87a604e7919c87c0c6ae208b..00b4a13e0c2f37dae491f3743319321b6ab059ea:/docs/latex/wx/layout.tex?ds=sidebyside 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}