PDA

View Full Version : empty content of region when closing and then showing



kuzynpiy
21 Oct 2006, 9:20 AM
Hello,
Why when I click the ?X? (close) button on the titlebar (and the titlebar is closed), and the execute:

layout.getRegion('west').show();
the content of the region is empty ?

Peter

jack.slocum
22 Oct 2006, 4:58 AM
When you hit the X, you are closing (removing) that panel from the region. So when the region is shown again, it is gone.

It may be possible to just hide the region when the X is clicked, but the default behavior removes it. I will look at making it a config option.