FROM : Jonathan Hess
DATE : Mon Mar 10 23:42:19 2008
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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Mon Mar 10 23:42:19 2008
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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| John Stiles | Mar 10, 23:27 | |
| Jonathan Hess | Mar 10, 23:42 | |
| John Stiles | Mar 10, 23:45 | |
| Stéphane Sudre | Mar 10, 23:50 | |
| Tom Bunch | Mar 10, 23:50 | |
| John Stiles | Mar 10, 23:53 | |
| John Stiles | Mar 10, 23:59 | |
| John Stiles | Mar 11, 00:07 |






Cocoa mail archive

