Author Topic: Progressbar with rounded corners  (Read 6184 times)

bdominguez

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 38
    • View Profile
Progressbar with rounded corners
« on: October 16, 2012, 04:45:47 AM »
I have the following problem.

My progressbar background is a UISlicedSprite and my foreground Sprite is a FilledSprite.

The problem is that when I change the fillAmount it distorts the Sprite (because it's not an UISlicedSprite).

Is there a solution?

Thanks!!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Progressbar with rounded corners
« Reply #1 on: October 16, 2012, 07:54:37 AM »
There is no sliced filled sprite, so I can't suggest much for you other than just creating the filled sprite to have rounded corners and exact size you need it to be to begin with.

It's one of those things I've been meaning to add but haven't gotten around to yet.

Tama

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Progressbar with rounded corners
« Reply #2 on: July 31, 2014, 02:12:03 AM »
Has this changed in the past two years?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Progressbar with rounded corners
« Reply #3 on: July 31, 2014, 11:11:15 AM »
No, it's either sliced or filled. The two behaviours don't mix.