diff --git a/components/gridprinter/source/gridprnheaderfooterform.pas b/components/gridprinter/source/gridprnheaderfooterform.pas index aacbd4de3..15f97f4b6 100644 --- a/components/gridprinter/source/gridprnheaderfooterform.pas +++ b/components/gridprinter/source/gridprnheaderfooterform.pas @@ -81,7 +81,7 @@ begin delta := TabControl.Height - TabControl.ClientHeight; Constraints.MinHeight := delta + clbLineColor.Top + clbLineColor.Height + clbLinecolor.BorderSpacing.Bottom + - ButtonPanel1.Height + ButtonPanel1.BorderSpacing.Around * 2;// + + ButtonPanel1.Height + ButtonPanel1.BorderSpacing.Around * 2 + TabControl.BorderSpacing.Around * 2; Constraints.MinWidth := edTextLeft.Left + edTextLeft.Width + Bevel1.Width + edTextCenter.Width + Bevel2.Width + edTextRight.Width + edTextRight.BorderSpacing.Right +