I took a quick look.  It appears that the Flash Player breaks the string
into two lines at any punctuation symbol (I tried $, not just +) if there
is no whitespace to break lines on.  But other APIs about word boundaries
don’t recognize the punctuation as a word boundary and that messes up the
truncation algorithm.

I can’t think of any easy workarounds.  What is the practical application
for having a + and a label that needs truncation?

-Alex

On 3/12/15, 5:16 AM, "Gowtham S" <gowtha...@ramco.com> wrote:

>Screen shots added
>
>Before setting the lineBreak
>
>http://apaste.info/SNH
>
>After Setting the lineBreak="explicit"
>
>http://apaste.info/XMc
>
>
>Thanks
>
>Regards,
>Gowtham S
>
>
>-----Original Message-----
>From: kevin.godell [mailto:kevin.god...@gmail.com]
>Sent: Thursday, March 12, 2015 5:15 PM
>To: dev@flex.apache.org
>Subject: Re: Spark Label get Truncated after + symbol even it have enough
>width to render.
>
>Have you tried using the unicode for plus sign, \u002B? This may be a
>temp workaround for you.
>
>
>
>--
>View this message in context:
>http://apache-flex-development.2333347.n4.nabble.com/Spark-Label-get-Trunc
>ated-after-symbol-even-it-have-enough-width-to-render-tp45508p45510.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.
>DISCLAIMER: Information contained in and transmitted by this e-mail is
>proprietary to Ramco Systems Limited and/or its parents, subsidiaries and
>other affiliates, including Ramco Systems Corporation, (collectively
>"Ramco Systems"), is a confidential communication between Ramco Systems
>and the intended recipient(s) and is intended for use only by the
>individual or entity to which it is addressed, and may contain
>information that is privileged, confidential or exempt from disclosure
>under applicable law. If this is a forwarded message, the content of this
>e-mail may not have been sent with the authority of Ramco Systems. Any
>unauthorized disclosure, dissemination, forwarding, printing, copying or
>other use of this email, and/or any action taken in reliance on the
>contents of this e-mail is strictly prohibited and may be unlawful. Ramco
>Systems shall not be liable or responsible to an unintended recipient of
>this email in any way for the contents of this email, or for the
>consequences of any such use or action. If you have received this
>communication in error, either directly or through forwarding, please
>notify Ramco Systems immediately at mailad...@ramco.com and
>delete/destroy this email and any copies of this email. In the absence of
>a consistent formal hard copy or electronic contract or waiver or other
>instrument duly executed on behalf of Ramco Systems by duly authorized
>officer(s) or agent(s), Ramco Systems shall not be contractually bound by
>any email sent on its behalf. Emails will be used by Ramco Systems only
>for making proposals, conducting negotiations, providing information and
>positions on issues and for similar purposes.

Reply via email to