[reportlab-users] Indenting a table with platypus

Roberto Alsina ralsina at netmanagers.com.ar
Thu Jan 22 19:19:58 EST 2009


Just what the subject says.

Suppose I am doing a bulleted list, and one of the items contains a table.

Here's how I would wat it to look (use monospaced font ;-):

* This is a table-less item

* This one has a table

+---------------+
| xxxxxxxxxxxxx |
+---------------+

But right now, the table uses 100% of the page width, which looks kinda ugly.
Any pointers?

I handle this all right for paragraphs, using leftIndent, of course. Is there
something similar for tables?

--
("\''/").__..-''"`-. . 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