mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 14:29:31 +02:00
LazReport, unconditionally stretch stretchable objects, fix issue #20988
git-svn-id: trunk@36041 -
This commit is contained in:
parent
ca4c12556c
commit
7be38e8951
@ -5374,12 +5374,10 @@ begin
|
||||
if Stretched then
|
||||
begin
|
||||
sh := CalculatedHeight;
|
||||
// sh := CalcHeight;
|
||||
{$IFDEF DebugLR}
|
||||
DebugLn('Height=%d CalculatedHeight=%d',[dy,sh]);
|
||||
{$ENDIF}
|
||||
if sh > dy then
|
||||
StretchObjects(sh);
|
||||
StretchObjects(sh);
|
||||
maxdy := sh;
|
||||
if not PageBreak then
|
||||
CheckPageBreak(y, sh, False);
|
||||
|
Loading…
Reference in New Issue
Block a user