cocoainterface-buildernssplitview

How to disable resizing of the subview of NSSplitView in Interface Builder?


I've created in Interface Builder a NSSplitView with two subviews. I want the left-side view to have fixed width. I've tried to define autosizing rules for both subviews but the left subview still changes width on window resizing (split view fills up a window). May be that caused by NSSplitView's Autoresizes Subviews property? (I can't uncheck it). What can I do?


Solution

  • The behavior that you want required some code that you can do on the NSSplitView's delegate. However, you can have the same result using BWToolKit.