Slider fill image won't go to zero or fill to the max?

I got a Silder fill image , size 1x12 but when I add it to the Fill Area of Slider, it looks “fat”? Even when the value is zero and also, it never goes to max. Any idea why?

I want it to work as a regula real slider, when at zero, no fill and when at max, well, max fill.

What am I doing wrong?

3 Likes

That’s just the default behavior of the UI slider, because it has the handle icon which obscures the edges anyway.

But it’s easy to change. Make sure both Fill, and Fill Area objects are anchored to both sides (in your case 4 corners since you want them anchored to top/down as well), and the Left/Right parameters set to 0. That way the size of the Fill and Fill Area will be exactly the size of the slider, and it will solve your problem.

2070655--135104--upload_2015-4-16_7-18-27.png

2070655--135105--upload_2015-4-16_7-18-38.png


23 Likes

THANK YOU! <3

1 Like

Yes, thank you two!

Thanks!

thanks!

thanks man!

thanks!