diff --git a/components/dockedformeditor/source/dockedresizer.pas b/components/dockedformeditor/source/dockedresizer.pas index 07b9eeac06..7749d373f3 100644 --- a/components/dockedformeditor/source/dockedresizer.pas +++ b/components/dockedformeditor/source/dockedresizer.pas @@ -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;