[reportlab-users] Column widths when not specified

Robin Becker robin at reportlab.com
Fri Mar 16 10:05:45 EDT 2007


Stephan Richter wrote:

> On Friday 16 March 2007 03:57, Dinu Gherman wrote:

>> I posted a very similar question yesterday. I'm afraid your question

>> might contain the answer already. After tweaking my test sample (see

>> attached) I conclude that automatic column width spacing does not

>> work as soon as flowables (including Paragraphs) are used. If so,

>> then I guess the workaround is to declare the column widths manually.

>> Of course, then the question arrises if this cannot be automated?

>

> The reason I asked was becaue I saw this behavior in the RML test suite. Have

> a look at the table in test 006:

>

> http://developer.reportlab.com/rsrc/rml_examples/test_006_barcodes.rml

> http://developer.reportlab.com/rsrc/rml_examples/test_006_barcodes.pdf

>

> Regards,

> Stephan

Certain Flowables can be regarded as fixed width ie there's no exchange between
height/width and for those the table layout can get the right answer for cell width.
--
Robin Becker


More information about the reportlab-users mailing list