[reportlab-users] Aligning tablle example

Andy Robinson andy at reportlab.com
Wed Jul 8 16:34:56 EDT 2009


2009/7/8 Mike Driscoll <mdriscoll at co.marshall.ia.us>:

> I am trying to figure out how to left or right align an entire table.

> However, the docs only talk about aligning the cells within a table. Can

> someone tell me how to do this, preferably with some kind of example?


Tables have a property 'hAlign', in common with many other flowables.
Sorry it wasn't documented - inside ReportLab we use the RML layer on
top so tend not to notice.

There is one example in the test suite, test_platypus_pleaseturnover.py

- Andy


More information about the reportlab-users mailing list