Re: NSMenu problems

2010-03-01 Thread slasktrattena...@gmail.com
OK, I can live with this. Thanks. On Mon, Mar 1, 2010 at 6:17 PM, Eric Schlegel wrote: > > On Mar 1, 2010, at 8:33 AM, slasktrattena...@gmail.com wrote: > >> 3) When typing in the search field, the menu is updated to show the >> search results. This means the width of the menu is expanded to fit

NSMenu problems

2010-03-01 Thread slasktrattena...@gmail.com
Hello! I've got a couple of problems with NSMenu. 1) All menu items have a custom view. Therefore the default action for the menu item never gets called. Instead, I'm catching the mouse up event in my custom view and call the appropriate selector from there. This works fine. The problem I'm havin

Re: NSMenu problems

2010-03-01 Thread Eric Schlegel
On Mar 1, 2010, at 8:33 AM, slasktrattena...@gmail.com wrote: > 3) When typing in the search field, the menu is updated to show the > search results. This means the width of the menu is expanded to fit > the new items. But when I clear the search field and the menu items > are reset to their defa

Fwd: NSMenu problems

2010-03-01 Thread slasktrattena...@gmail.com
This is the third time I'm posting this, but it seems it doesn't come through. Apologies if they all show up at once. -- Forwarded message -- Date: Sun, Feb 28, 2010 at 8:08 PM Subject: NSMenu problems To: cocoa-dev@lists.apple.com Hello! I've got a couple o