Welcome,
Guest
. Please
login
or
register
.
February 02, 2023, 12:00:38 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
Misc Archive
»
Add Ellipsis to truncated text - Paid
« previous
next »
Print
Pages: [
1
]
Author
Topic: Add Ellipsis to truncated text - Paid (Read 3867 times)
motionsmith
Guest
Add Ellipsis to truncated text - Paid
«
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!
Logged
tonyM
Newbie
Thank You
-Given: 2
-Receive: 0
Posts: 24
Re: Add Ellipsis to truncated text - Paid
«
Reply #1 on:
July 22, 2013, 04:46:07 PM »
Solution done:
http://www.youtube.com/watch?v=CAY_lAs0Pds
Logged
dodikk
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 1
Re: Add Ellipsis to truncated text - Paid
«
Reply #2 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?
«
Last Edit: February 09, 2016, 11:26:50 AM by dodikk
»
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
Misc Archive
»
Add Ellipsis to truncated text - Paid