[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSScrollView does not scroll
From: |
Andreas Höschler |
Subject: |
NSScrollView does not scroll |
Date: |
Thu, 6 Nov 2008 13:56:56 +0100 |
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
- NSScrollView does not scroll,
Andreas Höschler <=