Tasharen Entertainment Forum
Support => Misc Archive => Topic started 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!
-
Solution done:
http://www.youtube.com/watch?v=CAY_lAs0Pds
-
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?