PDA

View Full Version : [CLOSED]Multiple Panel / Collapse bugs; Panel events not fired



kyr0
25 Feb 2011, 8:17 AM
Hi,

there are multiple panel / collapse bugs.
If I put a panel (region: north) inside of a window (border layout);

- collapsed: true works, but if you try to collapse again, to open the
panel, it won't work. Either if height of the panel is set to e.g. 100.

- I configured the panel to be collapsed: false, collapsible: true.
The I wanted to call me.collapse() when show or beforeshow of the panel inside of
the window is fired, to collapse when the window gets opened;
but show or beforeshow will not be fired by the panel.

Finally I called collapse() on the panel, when the window's show-event get's
fired (this works!). But... this is a hack ;)

Best regards,
Aron

evant
2 Mar 2011, 6:04 AM
Can you please elaborate, what were you trying to achieve and what was stopping this from working initially?