[reportlab-users] Indenting a table with platypus

Roberto Alsina ralsina at netmanagers.com.ar
Fri Jan 23 05:31:01 EST 2009


On Friday 23 January 2009 08:16:34 Robin Becker wrote:

> You can use an Indenter flowable before and after the table eg

>

> from reportlab.platypus.doctemplate import Indenter

>

> .....

>

> story.append(Indenter(left=12))

> story.append(myTable)

> story.append(Indenter(left=-12))

>

> That may help achieve what you want.


I had forgotten all about Indenter! Thanks.

--
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) KDE Developer (MFCH)
(_Y_.)' ._ ) `._`. " -.-' http://lateral.netmanagers.com.ar
_..`-'_..-_/ /-'_.' The 6,855th most popular site of Slovenia
(l)-'' ((i).' ((!.' according to alexa.com (27/5/2007)

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it. --Brian W. Kernighan


More information about the reportlab-users mailing list