Closed vladubogdan closed 11 years ago
Just set splitView.subviewsResizeMode = DMSplitViewResizeModePriorityBased;
Then setup your priorities:
[splitView setPriority:2 ofSubviewAtIndex:0]; [splitView setPriority:0 ofSubviewAtIndex:1]; [splitView setPriority:1 ofSubviewAtIndex:2];
The example shows that.
It works great!
By the way, thank you very much for creating this component. It's awesome!
Hey,
Thanks! That works.
Thank you brendand :)
Hey,
I know this is not trivial and you may ignore me if this is to much work, but would be nice to have.
When the window resizes the views changes size also. It is desired that when window resized only the middle view should change size while the left and right view should stay at the same size. Check out XCode to see this behaviour.