Re: NSScrollView showing part of view with white space above

2019-10-13 Thread Aandi Inston via Cocoa-dev
No auto-layout, identical coordinate systems. I found the solution, which is entirely my fault of course, thanks to your comment "It sounds like your NSView actually has white space at the top." For the benefit of future readers of this thread, here is the solution. I assumed the underlying

Re: NSScrollView showing part of view with white space above

2019-10-13 Thread Quincey Morris via Cocoa-dev
On Oct 13, 2019, at 06:30 , Aandi Inston via Cocoa-dev wrote: > > If the NSScrollView is scrolled upwards, the content in the window moves down > (as normal). What we now see is a large white space at the top of the > NSScrollView, and below that the same view portion we first saw. It sounds

NSScrollView showing part of view with white space above

2019-10-13 Thread Aandi Inston via Cocoa-dev
I have having a problem working with NSScrollView. The code is in pieces all over the desk at the moment, but I'm asking in case someone recognises the symptoms, before I reduce this to a simple test case. An NSScrollView is made from an NSView containing various NSControls. The NSView is fine