don't have FB at hand to check the code, but I think button's using a mx.controls.Label component to show the text as label, and label component only allow single line content.

you might have to extends Button and override createChildren() and updateDisplayList() to swap out the label component then use a plain textfield instead.

however, a button with multiple lines of text as label is....kinda weird.

On 4/21/06, bhaq1972 <[EMAIL PROTECTED] > wrote:
in flex1.5 i could do this

<mx:Button label="Hello
World" height="40"/>

the same thing in flex2b2 doesn't work. any ideas how i can achieve
this.

thanks







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to