[reportlab-users] RE: Table sizing algorithms - comments welcome
Henning von Bargen
reportlab-users@reportlab.com
Tue, 22 Apr 2003 09:00:02 +0200
Andy, I think that you're going the right way with your proposed new table
sizing algorithm.
Maybe we could use an additional optional maxWidth keyword argument
when creating a new table.
The default for this argument should be maxWidth = availWidth.
BTW then we could also supply a maxWidth keyword for each column.
Then when computing the width of a column,
we could stop as soon as one cell is broader than maxWidth, and use maxWidth
then.
When we are using it this way, the maxWidth arguments would
never make rendering slower, but could make it faster.
Henning