malcommac / DMSplitView

New NSSplitView class with multiple subviews resize behaviors and animated transitions
116 stars 24 forks source link

Added support for maximumSize setting. #11

Closed terhechte closed 10 years ago

terhechte commented 10 years ago

Hey,

I noticed that the maximumSize settings for the split view were being ignored when dragging the divider around. I've added support for that by modifying the constrainMaxCoordinate function to either take the full width or the maximum width that has been set.