mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:58:06 +02:00
DockedFormEditor: Adjust scrollbar for "fake" main-menu. Pull Request !380
(cherry picked from commit add8755ea8
)
This commit is contained in:
parent
c891537cc0
commit
fe1284cb27
@ -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