Accordion undock + setDimension doesn't resize grid


I undock a cell from my accordion and use setDimension but the grid attached is not resized.

How can I refresh the content of the window?

If I minimize/maximize or park/unpark I get the grid resized but I think there is a better way.


Could you please provide some code?

In your example: … 7612918000


Right, here is quick fix:


win.setDimension = function(width, height) {
    // add last line

Thanks it works but I use a layout attached to the window too and it is resized too large, I can resize the layout panels but I can’t collapse/expand them.
I can make an animation to show you if you need.

Yes, please.