mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 20:56:28 +02:00
increased verbosity when using -dVerboseAutoSize
git-svn-id: trunk@7738 -
This commit is contained in:
parent
78d3820117
commit
e5144c22c8
@ -725,7 +725,7 @@ var
|
||||
dx: Integer;
|
||||
dy: Integer;
|
||||
begin
|
||||
//debugln('TWinControl.DoAutoSize ',DbgSName(Self));
|
||||
debugln('TWinControl.DoAutoSize ',DbgSName(Self));
|
||||
If not AutoSizeCanStart then exit;
|
||||
if AutoSizeDelayed then begin
|
||||
Include(FControlFlags,cfAutoSizeNeeded);
|
||||
@ -2950,8 +2950,13 @@ begin
|
||||
Include(FWinControlFlags,wcfReAlignNeeded);
|
||||
exit;
|
||||
end;
|
||||
//DebugLn('TWinControl.ReAlign ',Name,':',ClassName);
|
||||
{$IFDEF VerboseAutoSize}
|
||||
DebugLn('TWinControl.ReAlign A',Name,':',ClassName,' ', Dbgs(BoundsRect));
|
||||
{$ENDIF}
|
||||
AlignControl(nil);
|
||||
{$IFDEF VerboseAutoSize}
|
||||
DebugLn('TWinControl.ReAlign B',Name,':',ClassName,' ', Dbgs(BoundsRect));
|
||||
{$ENDIF}
|
||||
Exclude(FWinControlFlags,wcfReAlignNeeded);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user