I have an NSSplitView that uses autolayout to position the two subviews inside of it.
Everything works great, but I want to set the initial position of the divider to a constant value (300 pixels) for aesthetic reasons. I'm not using interface builder.
If I do [_splitView setPosition:300 ofDividerAtIndex:0];
, I see no effect, same thing if I add a [_splitView adjustSubviews]
call right after that.
Any tips?