NOTE: The standard Accordion widget does NOT have a 'resize' method. Hopefully this will be added in a future release. I submitted code for such an update some time ago...
UPDATE for ui.accordion widget - size() method
Without a 'resize' method, the only way to resize an accordion is to destroy-and-recreate it. But there is another solution...
If you want to use an accordion inside a layout and have it 'auto-resize', download the patched version used on this demo page:
It is identical to the original widget, except it has a 'resize' method.
(I renamed the method from 'size' to 'resize')
You've seen it coming!
Buy now and get nothing for free!
Well, at least no free beer. Perhaps a bear,
if you can afford it.
your bear, you have to admit it!
No, we aren't selling bears.
get two for three beer.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.
And now for something completely different.