2D menu
2D menu
- Subject: 2D menu
- From: jerome LAURENS <email@hidden>
- Date: Sat, 23 Feb 2002 09:59:45 +0100
Hi all,
I am currently developping a pair of subclasses of NSMenu and NSMenuView
to handle 2D menus (grid menus). I came to an end except for one thing:
The title displayed in the NSMenuItemCell is not vertivally centered
like in the standard menus. It appears to stick the bottom of the menu
item rectangle. I have read many times all the API's of related cocoa
classes but i only saw controls for the horizontal offset. The only
vertical information a menu item cell seems to have in order to draw
itself is the rectangle provided by NSMenuView rectOfItemAtIndex but
does not give any depth info.
Normally, I should not need to subclass NSMenuItemCell.
Are there any hints, suggestion, code to help me?
TIA
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.