Removing label from ProgressBar

Tagged:  

In case this saves anybody some time. Removing the label from a flex ProgressBar isn't exactly straightforward. This is what I had to do:

<mx:ProgressBar label="" labelPlacement="right" labelWidth="0" horizontalGap="0" />

Thanks very much. A flag showLabel would have made more sense to me.

labelPlacement="center" does the trick as well, but then the progress bar has the height as if there was an actual label. Otherwise it will be just a few pixels thick (which is what I wanted).

Thanks. You saved me a bit of time.

Hi there,

thanks for the tip. For me labelPlacement="center" worked better. Maybe this is due to the newer version.

Thanks for that mate! Saved me time for sure.

thanks

thanks!