I have added a tool strip to my form. In this tool strip i had some buttons with the help of add toolstrip button. These buttons are by default of the size 22, 20. But i want to change the size of the button to 25, 50. I made changes in designer by changing the size property but it is not reflected in my form. Even if i change the height of the tool strip, it is not getting changed. Any help with that?
Share
If you change
AutoSizeproperty of ToolStripButton tofalse, you’ll be able to change the width of button.If you change
AutoSizeproperty of ToolStrip tofalse, you’ll be able to change its height and the ToolStripButton will change its height automatically to fit into the tool strip.EDIT:
If you want to increase not only size of the button, but also the size of the button image, you must either use the bigger image, or you can try to resize the original one. Then you must also change toolstrip’s
ImageScalingSizeproperty. Try to use the following code: