views:

360

answers:

1

Hi, I'm coding a Windows Forms App that has a StatusStrip that displays status informations to the user, and hints when the mouse is over relevant things. However, when the program is on it's minimal window size, the text sometimes is bigger than the whole StatusStrip, and the label simply dissapears. There must be a workaround to this, ideally I'd like it to auto ellipsis when the text is bigger than the window allows. But how?

Thanks in advance =)

+1  A: 

Set TextAlign = MiddleLeft

Set Spring = True

You won't get ellipses this way, but it won't disappear either.

If you want ellipses you may have to actually measure the width, and adjust your text accordingly. Not an easy task.

David Rutten
Wow, that's quite stubborn. I'd like to know why it doesn't have AutoEllipsis as a property. :(
Camilo Martin