Re: NSTextView with ruler controls in a NSPopover

2012-07-02 Thread Graham Cox
On 03/07/2012, at 3:32 PM, Graham Cox wrote: > I'm trying to put a text editor into a popover. Never mind - turns out this is a bad idea anyway. Because the text ruler controls can bring up secondary sheets for the various "Other..." menu items, it all collapses in a heap because NSPopover is

NSTextView with ruler controls in a NSPopover

2012-07-02 Thread Graham Cox
I'm trying to put a text editor into a popover. It works, but the positioning of the text controls and rulers is very strange: http://apptree.net/images/popover.png It places them outside of the popover window, even though the textview, its scrollview and the custom view that acts as a contain