Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Asse on April 02, 2014, 08:38:29 AM

Title: 3.5.5 - UILabel with ResizeHeight changes width because of ambigiousFont
Post by: Asse on April 02, 2014, 08:38:29 AM
Hey,

I've updated from NGUI 3.0.6f7 and I can tell you that a lot of stuff, especially how details work have changed.

Now I was wondering why a UILabel with Overflowmode set to ResizeHeight gets its width resized and I found that in UILabel.MakePixelPerfect "mWidth = 100000" and afterwards "mWidth = Mathf.Max(w, minX)", means that it can get wider. I don't have any idea why ambigiousFont != null.

Any help on this topic?
Title: Re: 3.5.5 - UILabel with ResizeHeight changes width because of ambigiousFont
Post by: ArenMook on April 02, 2014, 04:42:56 PM
What does resize height overflow have to be with MakePixelPerfect? Are you calling MakePixelPerfect yourself? Why?