[reportlab-users] Table entries with VALIGN=MIDDLE are not correct

Dirk Holtwick reportlab-users@reportlab.com
Thu Nov 4 10:07:52 EST 2004


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