Hi all,

I am setting up a scrollview sublcass as follows:

- (id)initWithFrame:(NSRect)frame
{
   self = [super initWithFrame:frame];
   [self setHasVerticalScroller:YES];
   NSSize  contentSize = [self contentSize];
NSView *view = [[TimeTableView alloc] initWithFrame:NSMakeRect(0, 0, contentSize.width, 2000)];
   [self setDocumentView:view];
   [view setAutoresizingMask:NSViewWidthSizable];
   [view release];
   return self;
}

@end

TimeTableView is a sublcass of NSView. I get the vertical scroller, but the documentView does not scroll when I drag the knob of the scroller with the mouse. It does however scroll when turning the scrollview!? The above code works just fine on MacOSX 10.2 and MacoSX 10.5. Is this a small bug in GNUstep or am I missing something?

Thanks a lot,

  Andreas



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to