Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: Fabien on May 02, 2017, 10:40:33 AM
-
Hello,
In the last NGUI version 3.11.3, the ellipsis is not working correctly, here you can see in the screenshot below a simple example with one label forced to one line. But the "..." is added and we can see two lines instead.
It was working correctly in 3.11.1.
Thanks in advance for your answer.
https://owncloud.livejourney.org/s/JjaqeTh6gWCDTo2 (https://owncloud.livejourney.org/s/JjaqeTh6gWCDTo2)
-
Fix one thing, break another... Argh! Simple fix, fortunately. Line 1350 of NGUIText.cs:
// Doesn't fit?
if (x > maxWidth)
change to:
// Doesn't fit?
if (x > ew)
-
Thank you for your answer, does it mean it will be fixed in next version or I'll have to patch it every time ?
-
I fix things on my end as I post such replies, so yes it will be there in the next version.