Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: whydoidoit on September 14, 2013, 12:05:30 AM
-
In 2.6.5b it appears that my fonts no longer shrink to fit the available width, shrinking to fit an available height does alter the font scale (but isn't what I need). So fixing the width has stopped working for me in one of the recent releases (I skipped one I think), as I've got a bunch of stuff that used to work fine!
-
For shrink to fit, you have to have maxLines set to 1.
-
0, actually -- in 2.7.0
-
IMHO :-[
It's kind of weird how it works right now. If could support max line would be better.
-
There's anyway to keep it in just 1 line?
When I set the max Height to 30 and the Font scale goes to 15, it use a second line for the rest of text. I don't want that, I just want 1 line.
-
Then give it a height of 15.
-
But 15 it's to low to start, I want it to be 30 and just decrease when the text goes to long. But keeping 1 line.
-
Ok, I see what you're asking. I'll see if I can make it work like that. I'm not too happy with how the max lines is handled right now.
-
Thanks Aren! ;)
I'm waiting for this! ::)
-
I just download the latest and it works perfectly.
Thanks a lot Aren! ;)
-
:)
It was actually a Pro user contribution originally... but it didn't work with dynamic fonts, and likewise broke if the label had newline characters, so I had to rewrite it. So I guess it was a user-nudged feature.