I think you need to set multiline to true. This works:
<canvas>
<text multiline="true" bgcolor="#ccffcc">Hello OpenLaszlo!
<p>another paragraph</p></text>
<view bgcolor="red" x="100" y="100" height="40" width="40"/>
</canvas>
On Jan 28, 2008, at 11:54 AM, Donald Anderson wrote:
In converting the doc from 3.4, I discovered that <p> does not seem
to have an effect.
For example, modify test/hello.lzx to insert paragraph tags:
<canvas>
<text bgcolor="#ccffcc">Hello OpenLaszlo! <p>another paragraph</
p></text>
<view bgcolor="red" x="100" y="100" height="40" width="40"/>
</canvas>
Is this a bug, or is <p> not supported? If the latter, I'll remove
from the doc.
- Don
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-547-7881
email: [EMAIL PROTECTED]
www: http://www.ddanderson.com