scrollPoint in NSScrollView does not scroll

2013-06-17 Thread Benjamin Rindt
Hey, I'm trying this for I think over 3 hours just to get my View to scroll to a point when loaded. But not to start and cut off the rest of it, just be scrolled to there. Tried it in my real project, didn't work, made small test project, doesn't work either. NSScrollView* myscrollview =

Re: scrollPoint in NSScrollView does not scroll

2013-06-17 Thread Keary Suska
On Jun 13, 2013, at 5:53 PM, Benjamin Rindt wrote: Hey, I'm trying this for I think over 3 hours just to get my View to scroll to a point when loaded. But not to start and cut off the rest of it, just be scrolled to there. Tried it in my real project, didn't work, made small test

Re: scrollPoint in NSScrollView does not scroll

2013-06-17 Thread Keary Suska
On Jun 17, 2013, at 8:38 AM, Keary Suska wrote: NSScrollView* myscrollview = [[NSScrollView alloc] initWithFrame:NSMakeRect(0, 0, 200, 200)]; NSClipView* myclipview = [[NSClipView alloc] initWithFrame:NSMakeRect(0, 0, 500, 400)]; [myscrollview setHasVerticalScroller:YES];

Re: scrollPoint in NSScrollView does not scroll

2013-06-17 Thread Kyle Sluder
On Mon, Jun 17, 2013, at 08:20 AM, Keary Suska wrote: On Jun 17, 2013, at 8:38 AM, Keary Suska wrote: NSScrollView* myscrollview = [[NSScrollView alloc] initWithFrame:NSMakeRect(0, 0, 200, 200)]; NSClipView* myclipview = [[NSClipView alloc] initWithFrame:NSMakeRect(0, 0, 500,

Re: scrollPoint in NSScrollView does not scroll

2013-06-17 Thread Kyle Sluder
On Mon, Jun 17, 2013, at 07:38 AM, Keary Suska wrote: One possibility I know I have missed in the past is that the scroll point is the clip view's bounds *origin*, which is the bottom-left corner. Note: if the document view returns YES from -isFlipped, the clip view _also_ returns YES from