The Button control doesn't support multi-line labels. You would have to write a subclass to do this.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Nithya R
Sent: Thursday, August 25, 2005 12:16 AM
To: [email protected]
Subject: RE: [flexcoders] the \n doesn't work in XML

 

i am not able to send you the full code since its too large...

 

i use it in the viewhelper

 

labels.bundle.BTN_ENTRY  = label.BTN_ENTRY_1.French
 label.BTN_ENTRY_2.French;

and display it in buttonlabel like this:

 

<mx:Button id="Btn_Entry" label="{helper.labels.bundle.BTN_ENTRY}"/>

 

if u are not able to get it , then i shall build a small code and send it again...

 

thanks

 

nithya


Gordon Smith <[EMAIL PROTECTED]> wrote:

Post the code for a small and simple, but complete, <mx:Application> that demonstrates your problem.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Nithya R
Sent: Wednesday, August 24, 2005 10:48 PM
To: [email protected]
Subject: RE: [flexcoders] the \n doesn't work in XML

 

hai

 

i tried giving

the text is &#13; too long to displayed

but it still doesn't work... could you pls tell me y?

 

thanks

 

nithya



Gordon Smith <[EMAIL PROTECTED]> wrote:

\n doesn't mean anything in XML. Try

 

   &#13;

 

(including the semicolon) which is the XML escape sequence representing a Carriage Return character.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Spratt
Sent: Wednesday, August 24, 2005 10:40 AM
To: [email protected]
Subject: RE: [flexcoders] the \n doesn't work in XML

 

What control are you displaying it in?

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Nithya R
Sent: Wednesday, August 24, 2005 8:19 AM
To: flexcoders
Subject: [flexcoders] the \n doesn't work in XML

 

hai

 

i have an XML with a node containg "this line is too big.\nto be displayed in the second line"....

 

and when accessing this node and displaying the content the \n is not being recognised and the txet is not displayed in two lines... how to sdo this?

nithya

 

Send instant messages to your online friends http://uk.messenger.yahoo.com

Send instant messages to your online friends http://uk.messenger.yahoo.com

Send instant messages to your online friends http://uk.messenger.yahoo.com


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




SPONSORED LINKS
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to