PDA

View Full Version : Um... Hide center panel in border layout



thejoker101
15 Jan 2007, 8:15 AM
Am I missing something? Why can't I seem to hide the center panel.

Neither one of these seem to work:


layout.getRegion('center').hide();
layout.getRegion('center').hidePanel('centerPanelID);

deezh
16 May 2007, 7:45 PM
why not nobody give an answer?

jack.slocum
16 May 2007, 8:50 PM
You can't hide a center panel. It is the "Fill" for a BorderLayout.