koding/kd — pull request #95 by usirin (2014-11-21 01:30:47+00:00)
Title: splitview: add an option to forceResize all panels

This PR solves the following problem via adding another parameter called `forceResize` to the `_calculateSize` method.

- When left/top panel reaches the required size it returns early even though the other panel still needs resizing. This gives another option to discard that situation and resize the panels no matter what.

I know this is kind of a dirty solution, but I am taking notes of these kind of situations, and will try to address them in a proper way, hopefully, when we rewrite/refactor these components. Also, this kind of modification gives us a way to solve those kind of problems without breaking backwards compatibility.