Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Breadstix on April 08, 2014, 08:00:55 AM

Title: UIProgressBar Foreground Value
Post by: Breadstix on April 08, 2014, 08:00:55 AM
For some reason when the foreground value of a progress bar is set to zero, it still shows a value. I have noticed that others have/had the same problem by searching the forums here but I have not been able to find a solution to the problem. I am not sure if this is a bug or not, but any help on how to resolve this would be great.
Title: Re: UIProgressBar Foreground Value
Post by: ArenMook on April 09, 2014, 02:46:55 AM
You can't shrink the sliced sprite below the dimensions of its border. If you use a simple sprite, filled sprite, or filed sprite, then you will be able to shrink it down to nothing.
Title: Re: UIProgressBar Foreground Value
Post by: Breadstix on April 09, 2014, 08:51:53 PM
With the default image used (Button) using anything but a sliced sprite creates some weird results like the image not filling the entire area, etc. I am at my wits end trying to use this particular widget and have thrown my hands up in the air.
Title: Re: UIProgressBar Foreground Value
Post by: ArenMook on April 10, 2014, 06:48:52 AM
Why not simply disable the foreground sprite when the value is low? You can easily subscribe a custom function to the On Change event, and if the value is low -- disable the sprite.