Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: patrickkidd on August 31, 2013, 01:54:12 PM

Title: UILabels still auto-resizing with "adjust size" disabled?
Post by: patrickkidd 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!
Title: Re: UILabels still auto-resizing with "adjust size" disabled?
Post by: Nicki 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.