split-pane
split-pane copied to clipboard
Add support for component max-width and max-height
@shagstrom i'm currently using this:
function maxHeight(element) {
return parseInt($(element).css('max-height')) || 0;
}
//and call it on line 182
maxLastComponentHeight = maxHeight(lastComponent) || splitPane.offsetHeight - minHeight(firstComponent) - divider.offsetHeight,
//and line 188 to use it
//height fix to fill all space before
$(firstComponent).height('auto');
and thanks for v0.5.2 :+1: