Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: helioxfilm on December 28, 2012, 04:39:59 PM

Title: Strange behavior
Post by: helioxfilm on December 28, 2012, 04:39:59 PM
Hi Aren,

There is a strange difference between two sprites in my scene, see the attached image. The top is a normal UI sprite, the bottom is a UIImage Button. The glow effect at the end of the second sprite got modified. The sprite are on the same atlas, in fact, they are the same sprites. What might cause this difference?

Thanks,
Gyula

(https://dl.dropbox.com/u/11660285/strange_ending.jpg)
Title: Re: Strange behavior
Post by: ArenMook on December 28, 2012, 08:28:07 PM
Make sure the image button is using sprites, not sliced sprites.
Title: Re: Strange behavior
Post by: helioxfilm on December 29, 2012, 03:28:38 AM
It is using sprites. However, I noticed, that I jave not deleted the Label (my sprite contains the text), so the default Label was in the widget set. After deleting that, everything is fine now :-)