moving subviews

2008-08-12 Thread Georg Seifert
Hello, I have a big document view. On it I place some small subviews. I f I scroll the document view, the subviews should move with it but only till it reaches the edge of the visible area of the main view. e.g: if i move the main view down, and the subview hits the scrollbar, it should

Re: moving subviews

2008-08-12 Thread Negm-Awad Amin
Am Di,12.08.2008 um 09:49 schrieb Georg Seifert: down, and the subview hits the scrollbar, it should stick there. is there a sane way of achieving this or do I better lock for an other behavior? You can overwrite the origin-changing methods -setFrame: and - setFrameOrigin: of your

Re: moving subviews

2008-08-12 Thread Quincey Morris
On Aug 12, 2008, at 00:49, Georg Seifert wrote: I have a big document view. On it I place some small subviews. I f I scroll the document view, the subviews should move with it but only till it reaches the edge of the visible area of the main view. e.g: if i move the main view down, and the