Skip navigation.
 
mlNSScrollView - keep document view's top left pinned when resizing?
FROM : Jim Correia
DATE : Thu Jun 29 23:59:18 2006

I have a trivial(*) NSView subclass contained inside an NSScrollView.

I'd like to keep the top left pinned (like NSTextView and friends) 
when the scroll view resizes. By default, the bottom left of the 
visible rect is pinned.

How do I pin the top left while resizing? (I did read Scroll View 
programming guide. If the answer is in there, I missed it.)

[*] It just draws a big X across. That's it.

Thanks,
Jim

Related mailsAuthorDate
mlNSScrollView - keep document view's top left pinned when resizing? Jim Correia Jun 29, 23:59
mlRe: NSScrollView - keep document view's top left pinned when resizing? Robert Walker Jun 30, 00:12