I am trying to right align a control in a StatusStrip
. How can I do that?
I don't see a property to set on ToolStripItem
controls that specifies their physical alignment on the parent StatusStrip
.
c++statusstripwinforms
I am trying to right align a control in a StatusStrip
. How can I do that?
I don't see a property to set on ToolStripItem
controls that specifies their physical alignment on the parent StatusStrip
.
Best Solution
Found it via MSDN forums almost immediately after posting :)
You can use a
ToolStripLabel
to pseudo right align controls by setting theText
property tostring.Empty
and setting theSpring
property totrue
. This will cause it to fill all of the available space and push all the controls to the right of theToolStripLabel
over.