Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: rockafnan on March 12, 2013, 01:50:06 AM

Title: UISprite with different aspect ratio in table cell
Post by: rockafnan on March 12, 2013, 01:50:06 AM
Hi, I've a table with cell containing a UISprite. I've different sprites of different aspect ratio. I've managed to keep the height same, how can I keep the aspect ratio of sprite same as Altas maker trim alpha while adding it to Altas.
Title: Re: UISprite with different aspect ratio in table cell
Post by: Nicki on March 12, 2013, 09:35:46 AM
Just call MakePixelPerfect() on the sprite when you add it to your cell and it should be fine.