Hello,

I used UITextField component in an attempt to create a multiline text field 
which can truncate according to its limited size.
The good news is that it did manage to truncate the text and add "..." without 
breaking words in the middle.
The bad news is in some of the cases the text truncated too early! The second 
line of text included a single word with "..." but the rest of the line 
remained empty, though it did have a few more words it should have fit in there.

Is there any way to resolve this? I tried using autoSize and updating the text 
and width of the UITextField upon each setting of new text, but it did not help.
I'll be very hear to hear if this problem has come up before and if there are 
any suggestions for solutions.

Thanks for your assistance!

Yael 

--- In [email protected], "superabe superabe" <super...@...> wrote:
>
> http://blogs.adobe.com/bhellema/2007/03/truncating_text_1.html
> 
> On Thu, May 29, 2008 at 8:31 PM, Gordon Smith <gosm...@...> wrote:
> 
> >    The Flex framework doesn't support multiline truncation. I don't know
> > there's third-party code to do this.
> >
> >
> >
> > Gordon Smith
> >
> > Adobe Flex SDK Team
> >
> >
> >  ------------------------------
> >
> > *From:* [email protected] [mailto:[email protected]] *On
> > Behalf Of *ninobronzed
> > *Sent:* Thursday, May 29, 2008 11:30 AM
> > *To:* [email protected]
> > *Subject:* [flexcoders] Multiline Textfield Trunctation
> >
> >
> >
> > Is there a way to truncate a multiline textfield? Or is there a
> > component out there that someone wrote that does it? The single-lined
> > Label component does truncation, but I need it for textfields with
> > more than one line...
> > THX
> >
> >  
> >
>


Reply via email to