Hi Graham, hi Kyle!
Another thing to be aware of is that if you do it right, the ruler
views managed by the scrollview also "just work" and allow for the
view's zoom. I don't think you should be doing what you're doing to
the NSClipView.
I don't know what crossed my mind, but I used metho
On 02/09/2009, at 2:30 PM, Matthias Arndt wrote:
It was my understanding that a custom view could be zoomed in (at
least) two ways:
(1.) using "scaleUnitSquareToSize" of the clip view (leaving the
coordination system of the custom view untouched) or
(2.) changing the bounds / frame of th
On Sep 1, 2009, at 9:30 PM, Matthias Arndt family.com> wrote:
(1.) using "scaleUnitSquareToSize" of the clip view (leaving the
coordination system of the custom view untouched) or
Where did you hear about this technique? I don't know if it's
guaranteed to work. The next time the scroll view
Am 01.09.2009 um 23:59 schrieb Kyle Sluder:
Why are you scaling your clip view? It would make more sense to scale
your document view.
It was my understanding that a custom view could be zoomed in (at
least) two ways:
(1.) using "scaleUnitSquareToSize" of the clip view (leaving the
coord
On Tue, Sep 1, 2009 at 12:38 PM, Matthias
Arndt wrote:
> Under Mac OS X 10.5 I wrote an application with an NSScrollView containing a
> custom view. The NSScrollView was composed using IB and the
> "autohidesScrollers" option checked. As long as the content fits into the
> NSScrollView the scroller
When zoomin in the scrollers remain invisible! I can scroll (e. g.
using the scrollball of my mouse), but the scrollers aren't shown.
And now something really strange (at least for me): After resizing
the window the scrollers appear!
I've set a breakpoint and checked custom view, clip vie
On Sep 1, 2009, at 12:38, Matthias Arndt wrote:
Under Mac OS X 10.5 I wrote an application with an NSScrollView
containing a custom view. The NSScrollView was composed using IB and
the "autohidesScrollers" option checked. As long as the content fits
into the NSScrollView the scrollers were
Hi!
Under Mac OS X 10.5 I wrote an application with an NSScrollView
containing a custom view. The NSScrollView was composed using IB and
the "autohidesScrollers" option checked. As long as the content fits
into the NSScrollView the scrollers were hidden. If the NSClipView was
zoomed (usin