Author Topic: Simple button appears stretched  (Read 2401 times)

aschearer

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Simple button appears stretched
« on: December 03, 2014, 03:21:44 AM »
I've tried creating a custom button. I set a 64x64 blank white image as the texture (through an atlas). The button is set to stretch based on anchors set so that it will have dimensions 300x40. When the button is drawn the background appears slightly fuzzy. Is there anything I can do about this? Please see attached image.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Simple button appears stretched
« Reply #1 on: December 04, 2014, 03:22:10 AM »
Change the sprite to be sliced and give it a 1 pixel border.