mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 23:59:12 +02:00
enable autosizing at design time (fixes issue #1244)
git-svn-id: trunk@8060 -
This commit is contained in:
parent
70601ab4a9
commit
b30bc55540
@ -711,7 +711,7 @@ function TWinControl.AutoSizeDelayed: boolean;
|
||||
begin
|
||||
Result:=// no handle means not visible
|
||||
(not HandleAllocated)
|
||||
or (not FShowing)
|
||||
or ((not FShowing) and (not (csDesigning in ComponentState)))
|
||||
// during handle creation no autosize
|
||||
or (wcfCreatingChildHandles in FWinControlFlags)
|
||||
or (inherited AutoSizeDelayed);
|
||||
|
Loading…
Reference in New Issue
Block a user