Hello Guest

Author Topic: BasicButton size  (Read 3360 times)

lofl

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
BasicButton size
« 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.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: BasicButton size
« Reply #1 on: July 17, 2013, 12:22:24 pm »
Different resolution / aspect ratio? What are you doing with the camera?

lofl

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: BasicButton size
« Reply #2 on: July 17, 2013, 08:28:56 pm »
Sorry, it was self-solved.

I had not understood target height in sprite collection.
« Last Edit: July 17, 2013, 08:31:01 pm by lofl »