Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: bdominguez on October 16, 2012, 04:45:47 AM

Title: Progressbar with rounded corners
Post by: bdominguez 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!!
Title: Re: Progressbar with rounded corners
Post by: ArenMook 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.
Title: Re: Progressbar with rounded corners
Post by: Tama on July 31, 2014, 02:12:03 AM
Has this changed in the past two years?
Title: Re: Progressbar with rounded corners
Post by: ArenMook on July 31, 2014, 11:11:15 AM
No, it's either sliced or filled. The two behaviours don't mix.