NSMenuItem icon with attributed text
NSMenuItem icon with attributed text
- Subject: NSMenuItem icon with attributed text
- From: Rakka <email@hidden>
- Date: Fri, 10 Jun 2005 13:03:56 +1000
Hi,
When I give a menu item a 16x16 icon when the font size of the item
is customized (i put it at 12pt), the text placement is not
vertically centered anymore (it is to toward the top of the menuitem
cell, with some space below). I have to use 12x12 icons now, and it
looks pretty ugly. However, when using the default size for text in a
menu item, no matter how large the icon is, the text is always
vertically centered. Any ideas? Setting baseline through interface
builder doesn't work either. Thanks. I could always use an
AttributedTitle created programmatically in Xcode, but I prefer to do
it through Interface Builder, as I have quite a lot of these menu items.
Rakka
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden