mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 23:49:28 +02:00
DockedFormEditor: Prevent flickering at sizing when Resizer has visible scrollbars.
git-svn-id: trunk@64942 -
This commit is contained in:
parent
1764fd30fb
commit
a02fe87685
@ -248,6 +248,14 @@ var
|
||||
LScrollPos: Integer;
|
||||
begin
|
||||
if not Assigned(FDesignForm) then Exit;
|
||||
if ResizeControl.Resizing then
|
||||
begin
|
||||
DesignForm.BeginUpdate;
|
||||
DesignForm.EndUpdate;
|
||||
ResizeControl.AdjustBounds(FScrollPos);
|
||||
Exit;
|
||||
end;
|
||||
|
||||
LWidth := FDesignForm.Width + 2 * ResizeControl.SizerGripSize;
|
||||
LHeight := FDesignForm.Height + 2 * ResizeControl.SizerGripSize;
|
||||
{$IFDEF DEBUGDOCKEDFORMEDITOR} DebugLn('TResizer.AdjustResizer Resizer Width:', DbgS(LWidth), ' Height:', DbgS(LHeight)); {$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user