Re: NSSearchField(Cell) changes size with typing
Re: NSSearchField(Cell) changes size with typing
- Subject: Re: NSSearchField(Cell) changes size with typing
- From: Erik Stainsby <email@hidden>
- Date: Fri, 21 Sep 2012 16:23:25 -0700
On 2012-09-21, at 4:06 PM, Erik Stainsby <email@hidden> wrote:
> … and I can't stop it. Argh.
>
> There is nothing expressed in my code which addresses the searchField's size methods:
> – searchTextRectForBounds:
> – searchButtonRectForBounds:
> – cancelButtonRectForBounds:
>
> This is totally whacky and I'm hoping someone on the list has an immediate "Oh yes, just do x" moment.
>
> Erik Stainsby
> email@hidden
It is behaving as if sizeToFit: were being called on it with each key stroke.
OS X SDK 10.8.2 (deploy target 10.7)
Xcode 4.4.1
Erik
_______________________________________________
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