Re: Small variant of NSSearchField?

2008-03-10 Thread John Stiles
#x27;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

Re: Small variant of NSSearchField?

2008-03-10 Thread John Stiles
ffect. Any other ideas? Jonathan Hess wrote: 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

Re: Small variant of NSSearchField?

2008-03-10 Thread John Stiles
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

Re: Small variant of NSSearchField?

2008-03-10 Thread Tom Bunch
ol 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 appro

Re: Small variant of NSSearchField?

2008-03-10 Thread Stéphane Sudre
On Mar 10, 2008, at 11:27 PM, John Stiles wrote: [[searchField cell] setControlSize:NSSmallControlSize]; // A solution as ugly as an Orc float tWidth; NSRect tFrame; tWidth =NSWidth([IBsearchField_ frame]); [IBsearchField_ setFont:[NSFont systemFontOfSize:[NSFont

Re: Small variant of NSSearchField?

2008-03-10 Thread John Stiles
ess 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:NS

Re: Small variant of NSSearchField?

2008-03-10 Thread Jonathan Hess
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—

Small variant of NSSearchField?

2008-03-10 Thread John Stiles
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 t