Welcome,
Guest
. Please
login
or
register
.
April 21, 2026, 06:46:20 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UISprite with different aspect ratio in table cell
« previous
next »
Print
Pages: [
1
]
Author
Topic: UISprite with different aspect ratio in table cell (Read 1993 times)
rockafnan
Guest
UISprite with different aspect ratio in table cell
«
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.
Logged
Nicki
Global Moderator
Hero Member
Thank You
-Given: 33
-Receive: 141
Posts: 1,768
Re: UISprite with different aspect ratio in table cell
«
Reply #1 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.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UISprite with different aspect ratio in table cell