PDA

View Full Version : BorderLayout



doli
17 Nov 2009, 8:56 AM
Hi i've just started to write a big project in gxt and i have one question. Is there any chance to hide center region in border layout. I need only north and south and i need both collapsible and sizable. I tried to put one panel as north and second as center but the center one doesn't have collapse button. Next I tried to add north,center and south and hide center one with no result. I also tried to add two panels like in RowLayout example - then i have 2 colapsable panels, but not sizable. It is really importan for me, can anyone help?

Arno.Nyhm
17 Nov 2009, 9:39 AM
if you only need north and south then better use an other layout with a ContentPanel. they are also collapsible:

http://www.extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/ContentPanel.html#setCollapsible%28boolean%29