30 Sep 2009 2:03 AM #1
BorderLayout Center panel
Hi, is possible to hide/collapse the center ContentPanel (the one that has the style set to Style.LayoutRegion.CENTER) in the BorderLayout?
30 Sep 2009 4:53 AM #2
you are looking for this?
collapse()?This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.
GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts • Search Results • Advanced Search form • Category overview http://www.extjs.com/forum/showthrea...041#post410041
30 Sep 2009 5:15 AM #3
The setCollapsible(boolean) doens't seem to effect the center panel, only the other 4 panels (east, west, north, south).
the expand() and collapse() API of the ContentPanel doen't seem to work either (at least they don't collapse/expand properly), I have to use expand(LayoutRegion) and collapse(LayoutRegion) on the BorderLayout.