mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 21:19:18 +02:00
* IDE, DockedFormEditor: Amend "Check for csDesignInstance, ...". Keep old check too, for increased compatibility Issue #41368
This commit is contained in:
parent
8f7ffbe676
commit
717ab6381d
@ -3085,6 +3085,7 @@ procedure TControl.DoAllAutoSize;
|
||||
if not AControl.IsControlVisible then exit;
|
||||
|
||||
if Needed and AControl.AutoSize and
|
||||
(not ((AControl.Parent = nil) and (csDesigning in AControl.ComponentState))) and
|
||||
(not (csDesignInstance in AControl.ComponentState))
|
||||
then
|
||||
AControl.DoAutoSize;
|
||||
|
Loading…
Reference in New Issue
Block a user