Re: how to change only one row height in a table
Robin Becker <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <[email protected]> |
You need to set up a rowHeights list in the Table() creation. So if you have nrows=len(data) do rowHeights = nrows*[None] or rowHeights = nrows*[myStandardRowHeight] rowHeights[3] = 5 tbl = Table(data,....rowHeights=rowHeights) On 12/09/2013 22:35, Mike Driscoll wrote: > Hi, > > I need to change the row height of a single row in a table. So for example, > say I have a Table object with 5 rows and I want to make the height of the > 4th row smaller than all the others. How would I do that? I tried changing > the padding values for that row to no effect. I also tried setting the > leading value, but that didn't affect it either...not that I really thought > that one would. > > Any hints would be appreciated. Thanks! > > ------------------- > Mike Driscoll -- Robin Becker