C# WinForms StatusStrip - How do I reclaim the space from the "Grip"

Posted by Clyde on Stack Overflow See other posts from Stack Overflow or by Clyde
Published on 2010-04-15T15:20:57Z Indexed on 2010/04/15 15:23 UTC
Read the original article Hit count: 407

I've got a StatusStrip with a single ToolStripStatusLabel, Spring=true and a background color for notifications.

The problem is that there's an ugly gray square on the right side of the status strip. After fiddling for a while, I realized this is the sizing grip (I had is set to SizingGrip=false, GripStyle=Hidden). Yet even with it hidden, it still hogs the space. I can't get any content on the status strip to extend all the way to the right.

How would you work around this? Note I can't just set the backcolor of the StatusStrip because the Status Label changes colors and has some fading effects.

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms