I have a tool strip that contains a few controls, but not enough to fill all of the horizontal space available. I'd like the controls to be left justified in the strip and then have the strip background continue to the right to fill the remaining space.
I've tried ToolStrip.addFill() followed by ToolStrip.addFormItem(new SpacerItem()). That just results in a little extra background to the right, but it doesn't fill the available horizontal space. If I setWidth100() on the strip the controls are spaced out evenly to fill the available space, which is still not what I'm after.
How to I add a filler so that the controls remain left justified but the strip still fills 100% of the width.
I've tried ToolStrip.addFill() followed by ToolStrip.addFormItem(new SpacerItem()). That just results in a little extra background to the right, but it doesn't fill the available horizontal space. If I setWidth100() on the strip the controls are spaced out evenly to fill the available space, which is still not what I'm after.
How to I add a filler so that the controls remain left justified but the strip still fills 100% of the width.
Comment