tags:

views:

146

answers:

2

I have a toolbar of images, and I want text labels underneath the images. Where the text labels are multiple words, I'd like to stack the words vertically. How can I do it?

+1  A: 

Although not supported by the VS UI, you can have a multiline label. Simply use CrLf to separate lines.

Paulo Santos
+1  A: 

To elaborate on Paulo's answer:

You can't do the multiline at design time. But at runtime you can set the .Text property of each ToolStripButton like this:

ToolStripButton1.Text = "This is " & ControlChars.CrLF & "a button."

That will give you the multi-line display for your text.

Stewbob