Re: NSBox with a NSPopUpButton

2010-07-26 Thread Eric Gorr
Well, since NSBox does not support check-box or pop-up menu titles, I have filed a bug report: rdar://8233994 If anyone else thinks it would be useful for NSBox to offer such support, I would suggest that you do the same...it does make a difference. _

Re: NSBox with a NSPopUpButton

2010-07-23 Thread Sean McBride
Kyle Sluder (kyle.slu...@gmail.com) on 2010-07-23 20:20 said: >On Fri, Jul 23, 2010 at 4:39 PM, Sean McBride wrote: >> What you've missed is that this is something Carbon can do that Cocoa >> cannot. :( If you launch IB and create a new Carbon window, add a Box, >> then you can change its type to

Re: NSBox with a NSPopUpButton

2010-07-23 Thread Kyle Sluder
On Fri, Jul 23, 2010 at 4:39 PM, Sean McBride wrote: > What you've missed is that this is something Carbon can do that Cocoa > cannot. :( If you launch IB and create a new Carbon window, add a Box, > then you can change its type to 'popup'. There's no reason you can't do this in Cocoa. It's just

Re: NSBox with a NSPopUpButton

2010-07-23 Thread Sean McBride
Eric Gorr (mail...@ericgorr.net) on 2010-07-23 14:20 said: >So, what is the best method to create a NSBox with a NSPopUpButton? > > *SNIP* > >It seems strange that the HIG would say this is ok, but then have the >NSBox API not support itor, have I missed something? What you

Re: NSBox with a NSPopUpButton

2010-07-23 Thread Kyle Sluder
On Jul 23, 2010, at 11:20 AM, Eric Gorr wrote: > > So, what is the best method to create a NSBox with a NSPopUpButton? > > I can think of two methods which may work (neither of which I like) : > > 1. Create a NSBox and NSPopUpButton and then manually position the > NSPop

NSBox with a NSPopUpButton

2010-07-23 Thread Eric Gorr
Interface Builder. To create one using Application Kit programming interfaces, use the NSBox class. So, what is the best method to create a NSBox with a NSPopUpButton? I can think of two methods which may work (neither of which I like) : 1. Create a NSBox and NSPopUpButton and then manually