Re: NSScrollView: is setting the document view size supported?

2009-02-10 Thread Luke Evans
Hey guys - thanks. OK, I was setting bounds rather than frame. Oops. Now I don't have the weird zoom effect of the content growing to fit the clip view, but I do have the content marching down relative to the clip view as I switch back and forth between small and large content. I think

NSScrollView: is setting the document view size supported?

2009-02-09 Thread Luke Evans
My experiments suggest that simply setting the current document view in an NSScrollView to a new size results in the unexpected behaviour (to me) of having all the content of the document view be scaled up or down to fit the size of the NSClipView. If you construct new views that are the

Re: NSScrollView: is setting the document view size supported?

2009-02-09 Thread Eric Gorr
On Feb 9, 2009, at 9:07 PM, Luke Evans wrote: My experiments suggest that simply setting the current document view in an NSScrollView to a new size results in the unexpected behaviour (to me) of having all the content of the document view be scaled up or down to fit the size of the

Re: NSScrollView: is setting the document view size supported?

2009-02-09 Thread Andy Lee
On Feb 9, 2009, at 9:26 PM, Eric Gorr wrote: On Feb 9, 2009, at 9:07 PM, Luke Evans wrote: My experiments suggest that simply setting the current document view in an NSScrollView to a new size results in the unexpected behaviour (to me) of having all the content of the document view be