468,245 Members | 1,691 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,245 developers. It's quick & easy.

Change the size of ToolStrip

Hi all,

I'm using the ToolStrip in .NET 2.0, and I can't seem to find a way to
change the size of it. What I want is a toolbar the size of the IE toolbar,
preferably with text below images if possible. Can anyone shed any light on
how to do this?

Thanks,
Alex Clark
Mar 28 '06 #1
1 6176
On Tue, 28 Mar 2006 20:48:19 +0100, "Alex Clark"
<al**@theclarkhome.spamtin.net> wrote:
Hi all,

I'm using the ToolStrip in .NET 2.0, and I can't seem to find a way to
change the size of it. What I want is a toolbar the size of the IE toolbar,
preferably with text below images if possible. Can anyone shed any light on
how to do this?

Thanks,
Alex Clark


Normally, the ToolStrip wil autosize itself based on the button image
size and TextImageRelation property.

If you look through the property window for any given ToolStripButton
you have added, you will see the property,"TextImageRelation". Try
ImageAboveText.

If you want a still larger ToolStrip, try a larger image or try
setting the ToolStrip MinimumHeigt property to some specific value
larger than it's current height..

When you arrive at the size you want, go to the ToolStrip BackColor
property, select the Web Tab, "Transparent" which will result in a
flat look ToolStrip.

Gene

Mar 29 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by GatorBait | last post: by
2 posts views Thread by Fredrik Melin | last post: by
reply views Thread by Jon Davis | last post: by
reply views Thread by Anand Ganesh | last post: by
1 post views Thread by Tom P. | last post: by
2 posts views Thread by daveL | last post: by
1 post views Thread by priyamtheone | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.