Calculate progress bar length based on the length of its label string so...

... that we acomodate other languages better.