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

How can wrap the text for a form label?

Here is an example
<mx:FormItem  label="Tracking &amp;  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




Reply via email to