Difference between revisions of "Autosize / Layout"
From Lazarus wiki
Jump to navigationJump to search (→FAQ) |
|||
Line 1: | Line 1: | ||
+ | =Anchor Sides= | ||
+ | |||
+ | See [[Anchor Sides]]. | ||
+ | |||
=FAQ= | =FAQ= | ||
Revision as of 21:24, 20 November 2007
Anchor Sides
See Anchor Sides.
FAQ
Why does TForm.AutoSize not work when something changes?
TForm.AutoSize only works once at creation time. After that the size is up to user and the windowmanager. The application can force a resize with the following:
AutoSize:=false; // first reset the counter AutoSize:=true; // then do one AutoSize