瀏覽代碼

* Fix smMaxheight stretchmode

git-svn-id: trunk@39201 -
michael 7 年之前
父節點
當前提交
9e76882ae6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/fcl-report/src/fpreport.pp

+ 1 - 0
packages/fcl-report/src/fpreport.pp

@@ -4043,6 +4043,7 @@ begin
   Case StretchMode of
     smMaxHeight:
       begin
+      RTLayout.Height := aDesiredHeight;
       if Assigned(Parent) and Assigned(RTLayout) then
         RTLayout.Height:=Parent.RTLayout.Height-RTLayout.Top;
       end;