From f004e0c0472bc9f3680525ab9447f44fc5c95237 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Thu, 10 Nov 2022 17:11:41 +0000 Subject: [PATCH] GridPrinter: Fix compilation of previous commit. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8602 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/gridprinter/source/gridprnheaderfooterform.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 +