NSScrollView and autolayout

2013-11-08 Thread Jozef Dransfield
I have seen a previous discussion about this topic in the archives but I seem to be having a new problem related to Mavericks. I have a View Based NSTableView set as the document view of an NSScrollView with everything using auto layout. After upgrading to mavericks my scrollview no longer scro

Re: NSScrollView and autolayout

2013-02-26 Thread Chuck Soper
Excellent, informative response. Thanks. Do you know if your documentView returns YES for hasAmbiguousLayout? My user interface appears to work fine. The only problem is that [scrollView.documentView hasAmbiguousLayout] returns YES. Given that my UI appears to work as expected, can I just ignore

Re: NSScrollView and autolayout

2013-02-26 Thread Kyle Sluder
On Tue, Feb 26, 2013, at 02:32 PM, Chuck Soper wrote: > Does NSScrollView own its documentView, and controls the value that > documentView returns for setTranslatesAutoresizingMaskIntoConstraints:? It's actually NSClipView that controls this, but yes. > > I've created an NSView subclass that I'm

NSScrollView and autolayout

2013-02-26 Thread Chuck Soper
Does NSScrollView own its documentView, and controls the value that documentView returns for setTranslatesAutoresizingMaskIntoConstraints:? I've created an NSView subclass that I'm using for a documentView within an NSScrollView. I'm calling [self setTranslatesAutoresizingMaskIntoConstraints:NO] d