mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 15:16:21 +02:00
added UpdateShowing and reduced autosizing during handle creation
git-svn-id: trunk@8321 -
This commit is contained in:
parent
a57029a349
commit
7fc727d17a
@ -4820,12 +4820,18 @@ begin
|
||||
end;
|
||||
|
||||
// size this control
|
||||
AdjustSize;
|
||||
if FControls<>nil then
|
||||
for i:=0 to FControls.Count-1 do
|
||||
TControl(FControls[i]).DoAutoSize;
|
||||
// realign childs
|
||||
ReAlign;
|
||||
DisableAlign;
|
||||
try
|
||||
UpdateShowing;
|
||||
AdjustSize;
|
||||
if FControls<>nil then
|
||||
for i:=0 to FControls.Count-1 do
|
||||
TControl(FControls[i]).DoAutoSize;
|
||||
// realign childs
|
||||
ReAlign;
|
||||
finally
|
||||
EnableAlign;
|
||||
end;
|
||||
|
||||
//DebugLn('[TWinControl.CreateWnd] END ',Name,':',Classname);
|
||||
//WriteClientRect('D');
|
||||
|
Loading…
Reference in New Issue
Block a user