Re: Showing a popover from an NSOutlineView

2013-05-22 Thread Alex Zavatone
Yeah, if you need the triangle, I can toss you an Illustrator file or a PNG so that you can just add a UIImage to the button. On May 22, 2013, at 5:19 PM, Steve Mills wrote: > On May 22, 2013, at 16:15:31, Alex Zavatone > wrote: > >> I've got a simple case for iOS that I can send you where I i

Re: Showing a popover from an NSOutlineView

2013-05-22 Thread Jonathan Hull
Have you considered subclassing NSPopupButtonCell and overriding the interaction code? The alternative would be to subclass NSCell (or an appropriate subclass) and override the drawing methods. For the triangle, you could either use an image, or preferably, measure the dimensions and draw it

Re: Showing a popover from an NSOutlineView

2013-05-22 Thread Steve Mills
On May 22, 2013, at 16:15:31, Alex Zavatone wrote: > I've got a simple case for iOS that I can send you where I issue an > UIPopoverController and a PopoverContentViewController from a UIButton in a > UINavigationBar. > > Sounds like you're trying to do this in the Mac, but if you think it wi

Re: Showing a popover from an NSOutlineView

2013-05-22 Thread Alex Zavatone
I've got a simple case for iOS that I can send you where I issue an UIPopoverController and a PopoverContentViewController from a UIButton in a UINavigationBar. Sounds like you're trying to do this in the Mac, but if you think it will help, I'll strip the project down to the minimum and send yo

Showing a popover from an NSOutlineView

2013-05-22 Thread Steve Mills
Rather than try to get an NSPopUpMenu to work by displaying a window instead of the menu, I'm going down the path of using an NSPopover instead. It allows multiple events in the window and can dismiss when the user clicks somewhere else. Great. Now I *also* need to display this popover from a ce