• 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: Small variant of NSSearchField?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small variant of NSSearchField?


  • Subject: Re: Small variant of NSSearchField?
  • From: Jonathan Hess <email@hidden>
  • Date: Mon, 10 Mar 2008 15:42:19 -0700

Hey John -

IB also typically changes the cell's font, and the control's frame when you use the pop up in the control size inspector.

Hope that helps -
Jon Hess

On Mar 10, 2008, at 3:27 PM, John Stiles wrote:

Interface Builder can easily make a small variant of NSSearchField— it's right there in the size popup—but I can't manage to reproduce the effect in code. The typical approach doesn't work:

  [[searchField cell] setControlSize:NSSmallControlSize];

does nothing at all, though this does shrink almost any other control type I can think of.
I searched the archives and found that another user had this problem in mid-2007, but there was no solution posted.
Any ideas?


_______________________________________________

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

_______________________________________________

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


  • Follow-Ups:
    • Re: Small variant of NSSearchField?
      • From: John Stiles <email@hidden>
References: 
 >Small variant of NSSearchField? (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Core Animation Choppyness
  • Next by Date: Re: Small variant of NSSearchField?
  • Previous by thread: Small variant of NSSearchField?
  • Next by thread: Re: Small variant of NSSearchField?
  • Index(es):
    • Date
    • Thread