문제

I have a StatusStrip control on a form. This control contains only one child control - it is ToolStripStatusLabel. When the text is too large, then nothing is displayed. I would prefer to display at least something instead of nothing. What should I do with ToolStripStatusLabel to display part of text even if the whole text doesn't fit?

도움이 되었습니까?

해결책

Try setting the Spring property to true:

toolStripStatusLabel1.Spring = true;

or as Hans pointed out, you can set the ToolStripLayoutStyle

statusStrip1.LayoutStyle = ToolStripLayoutStyle.Flow;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top