You've already forked lazarus-ccr
GridPrinter: Fix AutoSizing of Header/Footer Dialog.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8601 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -80,12 +80,13 @@ var
|
||||
begin
|
||||
delta := TabControl.Height - TabControl.ClientHeight;
|
||||
Constraints.MinHeight := delta + clbLineColor.Top + clbLineColor.Height +
|
||||
clbLinecolor.BorderSpacing.Bottom + ButtonPanel1.Height +
|
||||
clbLinecolor.BorderSpacing.Bottom +
|
||||
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 +
|
||||
TabControl.BorderSpacing.Around * 2;
|
||||
Width := 0;
|
||||
Width := 0; // Enforce the constraints
|
||||
Height := 0;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user