View Full Version : Dynamically resize/hide panel size in border layour

18 Apr 2011, 10:43 PM
I have 2 panels, thumbnail panel in the "west" and a viewer panel in the "center" regions of a border layout. Based on a config, I want to remove the thumbnail panel and make sure the viewer panel takes up that area as well.
Am able to set the width and height correctly but viewer panel does not occupy the whole area since it is in the west region. Which layout should I use in this scenario ?

18 Apr 2011, 10:49 PM
try layout : 'fit'