Is there a direct way to determine the positions of the dividers in
NSSplitView. I'm implementing

    splitView:additionalEffectiveRectOfDividerAtIndex:

and would like to create a rect relative to the current position of the
divider.

If not, are most people calculating this by adding the widths of all the
"visible" child/container views to the left of the divider index? (I've
noticed the the widths of "collapsed" views in the split view still have
the original size).

Also, it seems that the NSRect returned from this method is interpreted
more like an iOS rect ... that is, Y and the height seem to be top down and
not bottom up. Is that because the NSSplitView's internal coordinate system
is managed as such since the docs say ...

"The rectangle should be expressed in the coordinate system defined by
*splitView*."

Thanks,
-Luther
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to