Re: NSMenu problems
Re: NSMenu problems
- Subject: Re: NSMenu problems
- From: Eric Schlegel <email@hidden>
- Date: Mon, 01 Mar 2010 09:17:34 -0800
On Mar 1, 2010, at 8:33 AM, email@hidden 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 default values, the menu doesn't shrink again.
> Calling the deprecated sizeToFit method has no effect.
The Menu Manager won't shrink the menu until it's closed and reopened again. This is to avoid annoying visual distractions to the user as the menu resizes larger/smaller/larger/smaller.
-eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden