[ACCEPTED]-How to vertically align Paragraphs within a Table using Reportlab?-reportlab

Accepted answer
Score: 12

I have to ask: have you tried the tablestyle 7 VALIGN:MIDDLE?

something like:

t=Table(data) 
t.setStyle(TableStyle([('VALIGN',(-1,-1),(-1,-1),'MIDDLE')])) 

(more details 6 in section 7.2 of the ReportLab user guide)

If 5 that doesn't do it, then your paragraph 4 object must be the full height of the cell, and 3 internally aligned to the bottom.

Could you 2 please post a small sample that reproduces 1 the problem?

More Related questions