Locking an object's location to the scroll view (not the document)

2011-10-12 Thread James Maxwell
I'm using GCDrawKit, which has been an amazing help in getting my app's interface together. However, I've run into a problem that's making me slightly crazy... My main view is a zooming scroll view. Thanks to drawKit, I generally have no problems at all; it handles the zooming beautifully, so

Re: Locking an object's location to the scroll view (not the document)

2011-10-12 Thread James Maxwell
Holy smokes! Okay, just used the wrong Rect. Needed to use documentVisibleRect instead of the contentView's bounds. Ugh... Working fine now. J. On 2011-10-12, at 12:24 PM, James Maxwell wrote: I'm using GCDrawKit, which has been an amazing help in getting my app's interface together.

Re: Locking an object's location to the scroll view (not the document)

2011-10-12 Thread Graham Cox
HI James, I would say that even if you have got it working, you're going out on a limb there. If you have elements in your interface that are positioned statically rather than part of the general content of the 'canvas' they might be better off being put into a separate view that is