[reportlab-users] How to add two flowables horizontally

Wietse Jacobs wietse.j at gmail.com
Wed Feb 11 08:30:20 EST 2009


2009/2/11 Suyash Gogte <gogtesuyash at gmail.com>:

> thnks its working but can u plz tell me......how to align it means

> for e.g

>

> Global Data :


That's chapter 7 of the User Guide: "Tables and TableStyles".

story.append(Table([[chart_obj, table_obj]], style=appropriate_style))

with an appropriate appropriate_style, e.g.:

appropriate_style = [
('VALIGN', (0,0), (-1,-1), 'MIDDLE'),
('ALIGN', (0,0), (0,-1), 'RIGHT'),
('ALIGN', (1,0), (1,-1), 'LEFT'),
('GRID', (0,0), (-1,-1), 1, colors.pink),
]

--
--Wietse


More information about the reportlab-users mailing list