Re: NSPopover tear-off problem

2014-10-13 Thread Keary Suska
On Oct 12, 2014, at 10:02 PM, Graham Cox wrote: > On 13 Oct 2014, at 2:43 pm, Graham Cox wrote: > >> But if I turn the popover into a window by allowing it to be dragged, the >> window's content is screwed up - instead of sizing the overall view to fit >> the window, a subview (an NSTableView

Re: NSPopover tear-off problem

2014-10-12 Thread Graham Cox
On 13 Oct 2014, at 2:43 pm, Graham Cox wrote: > But if I turn the popover into a window by allowing it to be dragged, the > window's content is screwed up - instead of sizing the overall view to fit > the window, a subview (an NSTableView) is sized to fill the window, and some > other views (

NSPopover tear-off problem

2014-10-12 Thread Graham Cox
Hi all, I have a NSPopover which I allow to be dragged off to a floating window. I'm following the code example in the 'NSPopover' sample fairly closely - I have a separate view controller instance for the window and the popover's content, each loading from the same secondary nib. None of my ni