Resizing: limit dimensions based on contents
Hello,
I have been trying to find a way around this but I have had no luck:
I have a div which is resizable, within that div are numerous draggable divs
Is it possible to prevent the resizable div from being resized to a dimension that is smaller than the space required by the contained draggable divs? I am aware that I can use minWidth and minHeight, but as the divs inside the resizable div are draggable the minimum width and height is a variable amount.
Thanks