Tasharen Entertainment Forum

Support => Misc Archive => Topic started by: motionsmith on July 11, 2013, 05:57:47 PM

Title: Add Ellipsis to truncated text - Paid
Post by: motionsmith on July 11, 2013, 05:57:47 PM
We need to display an ellipsis (...) when the text in a UILabel is too long. If you can add this, please let us know how much you'll charge.

Thanks!
Title: Re: Add Ellipsis to truncated text - Paid
Post by: tonyM on July 22, 2013, 04:46:07 PM
Solution done:

http://www.youtube.com/watch?v=CAY_lAs0Pds
Title: Re: Add Ellipsis to truncated text - Paid
Post by: dodikk on February 09, 2016, 11:20:44 AM
How about using an "ellipsis" symbol rather than three "dot" symbols?
http://www.fileformat.info/info/unicode/char/2026/index.htm


>> NGUIText.cs
-  float ellipsisWidth = GetGlyphWidth('.', '.') * 3f;
+ float ellipsisWidth = GetGlyphWidth('…', '…');

- sb.Append("...");
+ sb.Append("…");

Is there any way to contribute such a small patch?