NSSplitView Delegate
NSSplitView Delegate
- Subject: NSSplitView Delegate
- From: Doug Adams <email@hidden>
- Date: Thu, 14 Apr 2011 17:45:51 -0400
I'm using an NSSplitView with two vertical views. It will suffice to say that the divider slides back and forth fine, views maintain their size, and as far as I can tell it's set up fine. The trouble is with using most of the NSSplitView delegate methods. Specifically, splitView_constrainMaxCoordinate_ofSubviewAt_() and splitView_constrainMinCoordinate_ofSubviewAt_() (but others are troublesome also). These are supposed to give the proposedMax/propsedMin coordinate limits. But this value is always 0. Additionally, returning any number (as real) from these methods always returns 0. Or at least appears to, because as soon as the divider is moved, the split view slams to 0 and the divider can't be moved again.
I've tried BWToolkit, which works great but I'd really like to get the methods working. Has anyone worked with this, know of a solution?
Thanks,
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden