> > Thanks Enrico, I applied your patch ... with some small changes: the
> > correct code was already there, and had been commented out for unknown
> > reasons!
> 
> Ok, now it works. But I'd added the second NSPoint "costrP", to permit to
> the divider to draw following the mouse movements; only on mouseUp the
> size of the subviews is set.

Thanks - yes - I think this is what happens at the moment - the `ghost'
divider follows the mouse movements; on mouseUp the position of the
`ghost' divider becomes the position of the actual `real' divider, and the
size of the subviews is set to that.

I'm probably missing your point, if so, please would you explain a bit
more what you'd like to be different, possibly with a small example. :-)

While looking at this stuff, I noticed that the offset used in the
delegate call was wrong - for example, for a split view with a single
divider, the divider would have offset 1 instead of 0 (as required by the
openstep spec, and as implemented by all other openstep-like systems).  I
attempted to fix this ... let me know of any problems.



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to