[ACCEPTED]-How to vertically align Paragraphs within a Table using Reportlab?-reportlab
Accepted answer
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?
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.