[reportlab-users] Table entries with VALIGN=MIDDLE are not correct
Dirk Holtwick
reportlab-users@reportlab.com
Thu Nov 11 10:31:57 EST 2004
Hi,
I just want to ask, if you took this change of table valign in
consideration to be implemented in the reportlab 1.20 distribution? I
don't have the time to write a demo outside of "pisa" for this error,
but the described line changed since reportlab 1.19 and before this
change everything worked fine. The problem of aH=rowheight is that
rowheight is to small when used with flowables. Would be nice if you
could take a look at it before publishing the reportlab 1.20.
Thanks
Yours Dirk
Dirk Holtwick wrote:
> Oh, think I found a solution to the problem described in my last mail
> (valign TOP in table cells with flowables).
>
> Just change tables.py this way in the method _drawCell(..)
>
> Instead of:
> w, h = self._listCellGeom(cellval,colwidth,cellstyle,W=W,
> H=H,aH=rowheight)
>
> Write:
> w, h = self._listCellGeom(cellval,colwidth,cellstyle,W=W, H=H)
>
> On my machine it works.
>
> Bye,
> Yours Dirk
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
spirito GmbH
Dirk Holtwick (CEO)
Grünstraße 6
D-47051 Duisburg
fon: +49 203 3187778
mbx: holtwick@spirito.de
web: http://www.spirito.de
GnuPG fingerprint (http://www.gnupg.org)
A5A1 54E1 C82E 02AD 4804 0547 66F4 3FB0 C790 EBAB
More information about the reportlab-users
mailing list