Add a MaxWidth attribute to the progress bar