2D Toolkit Forum

2D Toolkit => Support => Topic started by: lofl on July 17, 2013, 12:20:12 pm

Title: BasicButton size
Post by: lofl on July 17, 2013, 12:20:12 pm
I placed BasicButton prefab along with 2D Toolkit Document and changed texture in tk2dSlicedSprite.
It is simply filled one color and no transparent pixel.
Then I build my project and execute.

In this exe, Button size is a little bit larger than tk2dSlicedSprite setting.
Probably it is about 1.2 times.
What brought this on?

Thank you.
Title: Re: BasicButton size
Post by: unikronsoftware on July 17, 2013, 12:22:24 pm
Different resolution / aspect ratio? What are you doing with the camera?
Title: Re: BasicButton size
Post by: lofl on July 17, 2013, 08:28:56 pm
Sorry, it was self-solved.

I had not understood target height in sprite collection.