That's correct. Because with the insets left+right=5+5px those values
are <10px and cannot be painted.
The bar style image contains a gradient pattern along with transparent
shadows for the bar margins. The squeezing will distort it and user will
see a different pattern. That was the point of bug.
--Semyon
It seems that for the small progress bar values (1, 2, 3, 4, 5, 6)
in the test the progress is not shown after the fix.
Is it possible to draw something correctly for these small values?
Thanks,
Alexandr.
Thanks,
--Semyon