Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Noisemaker

Guest
Original poster
Mar 13, 2009
498
0
What is the image size needed to add a custom image to a round rect button for Mac?

Are there default back, forward, and refresh buttons similar to what iOS has?
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
What is the image size needed to add a custom image to a round rect button for Mac?
That button normally doesn't have an image associated with it, but if you're going to add one, it looks like 14px would be the max height. Buttons don't have limits on their images though. Use whatever looks "right".

Are there default back, forward, and refresh buttons similar to what iOS has?

Go here, then scroll down to the "Image Template Constants" section near the bottom, and you'll find a list of images that are built-in. They can be used with NSImage's imageNamed: method.
 

Noisemaker

Guest
Original poster
Mar 13, 2009
498
0
That button normally doesn't have an image associated with it, but if you're going to add one, it looks like 14px would be the max height. Buttons don't have limits on their images though. Use whatever looks "right".



Go here, then scroll down to the "Image Template Constants" section near the bottom, and you'll find a list of images that are built-in. They can be used with NSImage's imageNamed: method.

Thanks for that link! I didn't realize there were so many button images available right off the bat. It definitely makes UI easier.

What is the "proper" button to use for those? Can I apply them via IB, or just through code?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.