View Full Version : expand/collapse resizeing issues

30 Mar 2007, 11:46 AM
I have a BorderLayout(MyLayout) with center, south(collapsable).
The center region houses multiple tabing contentPanels.
these contentPanels have a BorderLayout(InnerLayout) with center, east(collapsable).

If i collapse/expand the MyLayout.south region the
MyLayout.center region (with the InnerLayout) doesn't resize.

MyLayout.south expands ON TOP of the MyLayout.center.
If i then expand/collapse InnerLayout.east, MyLayout.center will FINALLY resize.

Collapsing MyLayout.south leaves behind a big blue area of nothingness.
If i then expand/collapse InnerLayout.east, MyLayout.center will resize, getting rid of the extra blue area.

is there a reparseSizes function or something i have to call after every expand/collapse?

30 Mar 2007, 11:57 AM


30 Mar 2007, 12:15 PM
Do i call that every time a user clicks the expand/collapse button?

30 Mar 2007, 12:18 PM
No, you shouldn't have to, it should lay itself out whenever any of the Regions changes size.

Are there any javascript errors anywhere?