Welcome,
Guest
. Please
login
or
register
.
February 11, 2025, 08:21:02 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Ellipsis not working correctly in last versions
« previous
next »
Print
Pages: [
1
]
Author
Topic: Ellipsis not working correctly in last versions (Read 2323 times)
Fabien
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Ellipsis not working correctly in last versions
«
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
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Ellipsis not working correctly in last versions
«
Reply #1 on:
May 04, 2017, 04:53:52 PM »
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
)
Logged
Fabien
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Re: Ellipsis not working correctly in last versions
«
Reply #2 on:
May 05, 2017, 03:01:55 AM »
Thank you for your answer, does it mean it will be fixed in next version or I'll have to patch it every time ?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Ellipsis not working correctly in last versions
«
Reply #3 on:
May 13, 2017, 11:11:49 AM »
I fix things on my end as I post such replies, so yes it will be there in the next version.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Ellipsis not working correctly in last versions