[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GWorkspace issues
From: |
Nicola Pero |
Subject: |
Re: GWorkspace issues |
Date: |
Mon, 29 Jan 2001 21:00:46 +0000 (GMT) |
>>>>> "Enrico" == Enrico Sersale <enrico@imago.ro> writes:
Enrico> But, anyway, I think that there is a little bug in
Enrico> NSSplitView ;-)
Enrico> After moving the divider, the delegate
Enrico> __splitView_resizeSubviewsWithOldSize_ method is never
Enrico> called.
Enrico> I think that you should add [self adjustSubviews] at the
Enrico> end of __mouseDown_ .
Ok - it was buggy and you are right in this :-) - I fixed NSSplitView
- but in a slightly different way.
I don't think it should send the splitView:resizeSubiewsWithOldSize:
at the end of dragging because that method is for when the splitview
itself is resized (hence the `old size' of the splitview in the name)
- but I agree that it should post the
NSSplitViewWillResizeSubviewsNotification and the
NSSplitViewDidResizeSubviewsNotification.
So - I fixed it to do it - in your case, you could implement
- (void) splitViewDidResizeSubviews: (NSNotification *)aNotification;
in the delegate and it would be called after the user has released the
mouse and the splitview has resized the views - but before the
splitview redisplays itself - so you would have yet another way of
fixing the divider position at your choice after the user finished
dragging.
- Re: A little help for GWorkspace, (continued)
- Re: A little help for GWorkspace, Enrico Sersale, 2001/01/15
- Re: A little help for GWorkspace, Helge Hess, 2001/01/15
- Re: A little help for GWorkspace, Enrico Sersale, 2001/01/12
- Re: A little help for GWorkspace, Helge Hess, 2001/01/12
- Re: A little help for GWorkspace, Dan Pascu, 2001/01/12
GWorkspace issues, Philippe C . D . Robert, 2001/01/28
Re: GWorkspace issues, Philippe C . D . Robert, 2001/01/28
Re: A little help for GWorkspace, Richard Frith-Macdonald, 2001/01/11
Re: A little help for GWorkspace, Richard Frith-Macdonald, 2001/01/11
Re: A little help for GWorkspace, Jeff Macht, 2001/01/11
Re: A little help for GWorkspace, Richard Frith-Macdonald, 2001/01/12