By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,152 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

Change the size of ToolStrip

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.