[reportlab-users] preformatted tag - should it wrap?

Brenda J. Butler bjb at sourcerer.ca
Fri Jun 17 12:31:55 EDT 2011


On Fri, Jun 17, 2011 at 01:04:07PM +0100, Andy Robinson wrote:

> We'd like users' opinions on a small change.

>

> We support a 'preformatted text' object for blocks of code etc.

> Currently, if your lines of code are too long, they will overflow the

> margin or vanish off the right egde of the page. If we were able to

> improve this, do people think we should...

>

> (a) always wrap at the width of the frame - possibly with one of those

> cute arrow icons...

>

> (b) keep existing behaviour, but turn on wrapping with an extra attribute ?


I vote for B. Sometimes one is better, sometimes the other.

bjb


More information about the reportlab-users mailing list