Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Chris_E on January 23, 2014, 08:35:06 PM

Title: UIImageButton Scale
Post by: Chris_E on January 23, 2014, 08:35:06 PM
I need to scale a button that uses the UIImageButton script down by 50%.  I tried changing the scale on the transform and the numbers on the UISprite's height and width, but neither has an effect after I press play.  Is there any way to do this?

Edit:  I commented out all of the "target.MakePixelPerfect();" calls and it fixed the issue.  Leaving this here in case anyone else tries the same thing.
Title: Re: UIImageButton Scale
Post by: ArenMook on January 24, 2014, 10:39:53 AM
Scale the parent instead.