[reportlab-users] Fw: [PATCH] _Container uses _hAlignAdjust() without defining it
Tay Ray Chuan
rctay89 at gmail.com
Mon Mar 15 08:29:21 EDT 2010
Hi list,
sorry if this email appears twice; I'm re-sending because the mailing
list archives doesn't seem to
I hit on this today. I believe the _hAlignAdjust() being referenced is
Flowable's implementation, hence this patch. If another _hAlignAdjust()
is being referred to, then please disregard this patch.
-- >8 --
--- a/reportlab/platypus/flowables.py 2010-03-14 10:06:50.578125000 +0800
+++ b/reportlab/platypus/flowables.py 2010-03-14 10:07:05.656250000 +0800
@@ -741,7 +741,7 @@
else:
return deepcopy(obj)
-class _Container(_ContainerSpace): #Abstract some common container like behaviour
+class _Container(_ContainerSpace,Flowable): #Abstract some common container like behaviour
def drawOn(self, canv, x, y, _sW=0, scale=1.0, content=None, aW=None):
'''we simulate being added to a frame'''
pS = 0
--
--
Cheers,
Ray Chuan
More information about the reportlab-users
mailing list