Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhoto like NSButton

How can I create a iPhoto like button like in the picture

enter image description here

I've tried out several things using round textured buttons or setting the button's image as template. But none of these approaches really works.

Thanks so far for your answers.

EDIT: The image of the button should just be a simple pdf. The gradient and the white shadow should be drawn automatically.

like image 901
burki Avatar asked Feb 28 '26 11:02

burki


1 Answers

As Justin mentioned you should create an NSButton with type Momentary Change. You should then indicate that it is a template image by including the suffix Template in the filename, e.g. EditTemplate.png.

I know you said you tried setting the image as template, but I found that this wasn't always effective if I wasn't using the Momentary Change button type.

like image 132
Maurice Kelly Avatar answered Mar 03 '26 04:03

Maurice Kelly



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!