src/reportlab/platypus/frames.py
changeset 2970 17c7629174cf
parent 2964 32352db0d71e
child 3010 1a6fc2f5876a
--- a/src/reportlab/platypus/frames.py	Thu Sep 04 12:45:58 2008 +0000
+++ b/src/reportlab/platypus/frames.py	Thu Sep 04 13:19:45 2008 +0000
@@ -190,7 +190,10 @@
         y = self._y
         p = self._y1p
         s = 0
-        if not self._atTop: s = flowable.getSpaceBefore()
+        if not self._atTop:
+            s = flowable.getSpaceBefore()
+            if self._oASpace:
+                s = max(s-self._prevASpace,0)
         flowable.canv = canv    #some flowables might need this
         r = flowable.split(self._aW, y-p-s)
         del flowable.canv