I am creating a Mac application in the style of Lion Mail.app. As part of this, I am trying to create a simulation toolbar in the one that is in Mail.app, but I can not imagine the image in my toolbar with a vertical orientation.
Looking at the Mail.app toolbar, I see a nice series of buttons with centered icons:

but when I go as an interface designer, I cannot recreate the same button. I get:

What I tried to do in Interface Builder:
- Create a new window
- Add NSToolbar to this window
- Add NSButton to the toolbar with the style - "Push", "Image" - "Envelope", "Position" - "NSImageOnly", "Scaling" - "Proportionally down"
As you can see, the icon is clearly not vertically centered on the button, as on the Mail.app toolbar.
Does anyone have any ideas???
I am currently using Xcode 4.2 and posting this button using Interface Builder. I am trying to create a toolbar button by ONLY adding an image to the button, rather than drawing a button for each element, i.e. Drawing border and icon.
Any help would be greatly appreciated, as it made me cool a bit.
Thanks in advance - AYAL
source share