Welcome,
Guest
. Please
login
or
register
.
June 14, 2026, 03:01:09 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UILabels still auto-resizing with "adjust size" disabled?
« previous
next »
Print
Pages: [
1
]
Author
Topic: UILabels still auto-resizing with "adjust size" disabled? (Read 3005 times)
patrickkidd
Guest
UILabels still auto-resizing with "adjust size" disabled?
«
on:
August 31, 2013, 01:54:12 PM »
I have some UILabels that are automatically resizing to pixel-perfect values on Play, dispite the fact that I scaled them down to half size in the editor. Then they scale back when I stop playing. "Shrink to fit is disabled," but I have set Max width and max lines. See screencast:
http://www.screencast.com/t/kazhTlxwa
Thanks!
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: UILabels still auto-resizing with "adjust size" disabled?
«
Reply #1 on:
August 31, 2013, 08:33:22 PM »
Sounds like a MakePixelPerfect() is run somewhere in there. I don't think that's done anymore when a new label is set, so it could be that you're doing it yourself? Try to do a project search for MakePixelPerfect() and see where it's run.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UILabels still auto-resizing with "adjust size" disabled?