mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-28 01:10:07 +02:00
DockedFormEditor: Adjust scrollbar for "fake" main-menu. Pull Request !380
This commit is contained in:
parent
d461637604
commit
add8755ea8
@ -257,7 +257,7 @@ begin
|
||||
end;
|
||||
|
||||
LWidth := FDesignForm.Width + 2 * ResizeControl.SizerGripSize;
|
||||
LHeight := FDesignForm.Height + 2 * ResizeControl.SizerGripSize;
|
||||
LHeight := FDesignForm.Height + 2 * ResizeControl.SizerGripSize + ResizeControl.FakeMenu.Height;
|
||||
{$IFDEF DEBUGDOCKEDFORMEDITOR} DebugLn('TResizer.AdjustResizer Resizer Width:', DbgS(LWidth), ' Height:', DbgS(LHeight)); {$ENDIF}
|
||||
|
||||
FPostponedAdjustResizeControl := True;
|
||||
|
Loading…
Reference in New Issue
Block a user