How can I right align a progress bar placed on a status bar?
Hello,
I'm using .NET 2.0. As you know it's possible to add progress bar to the status bar. I'm wondering how it's possible to make the progress bar aligned to the right of the status bar, just like FireFox progress bar.
I'm trying to do something similar to this - but instead I have two labels in the Status Strip - I would like the first one aligned on the left and the second one on the right - is this possible I've tried what you suggested and they are both still left-aligned.
add three labels to the status strip. Select the middle one and set its Spring property to True and empty the Text property (set to empty string). The middle label will stretch, filling all available space and pushing the right label to the far right...
How can I right align a progress bar placed on a status bar?
Imran Shaikh
... and set StatusStrip's LayoutStyle to HorizontalStackWithOverflow.
Andrej
Adam R.
Thanks.
markovuksanovic
maguidhir,
add three labels to the status strip. Select the middle one and set its Spring property to True and empty the Text property (set to empty string). The middle label will stretch, filling all available space and pushing the right label to the far right...
Andrej
manick312938
Ross Watson
Change Progress control Alignment property to Right.