5

I'm trying to add an image to an NSButton. No matter what dimensions I make the image it is being cropped (see the button to the left in the screenshot). This is a simple NSRoundedBezelStyle NSButton. In this case my image is 15x15 and the button has a height of 26 and a width of 45.

What is the correct way to create and add an image to an NSButton so that it is displayed properly?

Thanks!

enter image description here

RobertJoseph
  • 7,968
  • 12
  • 68
  • 113

0 Answers0