flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Spark Label get Truncated after + symbol even it have enough width to render.
Date Thu, 12 Mar 2015 22:01:59 GMT
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?


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

>Screen shots added
>Before setting the lineBreak
>After Setting the lineBreak="explicit"
>Gowtham S
>-----Original Message-----
>From: kevin.godell [mailto:kevin.godell@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:
>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 mailadmin@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.

View raw message