Reputation: 3437
Im trying to make the Icon on a button smaller, but I can't figure out how.
The size of the image is grayed out.
Any idea how to fix this?
Upvotes: 7
Views: 17919
Reputation: 8099
You need to resize the Image
and then set it as the Buttons
Image:
// where 'MyImage' is the Image to display on the Button
this.Button1.Image = (Image)(new Bitmap(MyImage, new Size(32,32)));
Upvotes: 12