There isn't an API to do this now, please file an improvement in http://jira.openlaszlo.org/.

In the mean time take a look at the button source at lps/components/lz/button.lzx in your local LPS install or http://svn.openlaszlo.org/openlaszlo/trunk/lps/components/lz/button.lzx

The text instance has the name _title, so you could call mybutton._title.setAttribute('multiline', true) for now. Let me know how it goes!

Regards,
Max Carlson
OpenLaszlo.org

On 7/4/10 10:44 AM, ason wrote:
Hello,

Do you know how to set the multiline text on the button?

best regards,
minamotonoason

Reply via email to