[reportlab-users] Table margin
Robin Becker
robin at reportlab.com
Fri May 27 04:47:27 EDT 2011
On 27/05/2011 09:21, Arkadi Colson wrote:
> Hi
>
> Is it possible to set the left margin to a table? When using the hAlign='LEFT'
> property, the table has a small left-margin. I would like to set it to zero.
> Anybody knows how to do it?
>
> Thanks!
>
There's an Indenter flowable object which you can put in the story. It's in
doctemplate so you can do the following
from reportlab.platypus.doctemplate import Indenter
story.append(Indenter(left=12))
story.append(mytable)
story.append(Indenter(left=-12))
--
Robin Becker
More information about the reportlab-users
mailing list