• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSSearchField(Cell) changes size with typing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSSearchField(Cell) changes size with typing (From: Erik Stainsby <email@hidden>)

  • Prev by Date: NSSearchField(Cell) changes size with typing
  • Next by Date: Re: Autosave in place - common use case that makes me hate it
  • Previous by thread: NSSearchField(Cell) changes size with typing
  • Next by thread: How to prevent Segue with modal form-sheet and AutoLayout from resizing my view?
  • Index(es):
    • Date
    • Thread