Hi,
You can achieve the same by subclassing the FormItem class
and using multiline textinput instead of single-line
textinput.
-abdul
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of deepu_verma
Sent: Monday, January 23, 2006 5:55 PM
To: [email protected]
Subject: [flexcoders] line break in the formitem label
Here is an example
<mx:FormItem label="Tracking & Reporting Requirements"
required="true" >
<mx:HBox>
<mx:TextArea id="reportingRequirement" textAlign="left"
width="500" height="80" cornerRadius="0"/>
<mx:Link label="?" />
</mx:HBox>
</mx:FormItem>
In the output I want to wrap the label to show "Tracking" in oneline
and "reporting requirements" in another.
I tried \n in the label but it does not works.
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

