Threaded View

BorderLayout resize center on collapse, ExtJS 2.3

I am using a BorderLayout and trying to resize the center region when the left side panel is collapsed. My center region is a tab panel. One of my tabs contains a grid panel. I want to resize any panel that is in the center region tab panel on collapse.App.centerTabPanel is a reference to the tab panel in the center region. App.mainPanel is just one of the tabs I am testing the resize with.Nothing gets resized, I have my tabs with layout "fit". The tabs with a gridpanel do get resized only when I reload the store.