[reportlab-users] valign with large fonts

Arkadi Colson arkadi at smartbit.be
Wed Jun 4 05:04:36 EDT 2008

So the only option will be detecting the font hight some way and using
bottom padding to enlarge the cell?


Robin Becker wrote:

> Arkadi Colson wrote:

>> Hi all,



>> I'm having trouble with cells in a table where large fonts are used.

>> The vertical alignment is set to center but the content is still at

>> the bottom of the cell. Can I solve this without using cell heights

>> because the content together with the fonts comes from a parsed XML

>> file. So the font size is variable.



>> Thanks in advance,

>> Arkadi

>> nfo/reportlab-users



> I have a feeling that valign should be middle, but the vertical

> alignment has always caused trouble so it might be busted.

More information about the reportlab-users mailing list