[reportlab-users] How do I align a table on the page?

Rüdiger Mähl reportlab-users@reportlab.com
Thu, 7 Nov 2002 08:03:35 +0100

Ben schrieb am 06.11.02 11:54:19:
> I am trying to use a Table from Platypus in a page, but the table always=
> seems to be centred. Is there a way to align the table to the left?

If you define e.g. a table like this:

tbl = Table(data, colWidths, style=tblstyle, repeatRows=1)
tbl.hAlign = "LEFT"

then it should align on the left of the page.

Many regards, 

Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr! 
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13