Andreas Höschler wrote:
> 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?
> 

Most likely the bug is somewhere else in your application. Could you
please provide a full working code that we could test with? The code
above should work with GNUstep but as you left out most of what is
needed to get it running there would be too much effort needed to prove
that.

Fred


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

Reply via email to