PDA

View Full Version : Border Layout: panel size not properly updated.



vadimfso
7 Feb 2012, 2:06 AM
Hi,

if I have the size between panels "center" and "splitter above me" and then close panel "starts at 30%" is not properly updated panel "splitter above me". Is there another solution?

Best regards

tvanzoelen
7 Feb 2012, 3:45 AM
Do you have code?

vadimfso
7 Feb 2012, 6:04 AM
http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/layout/border.html

S (http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/layout/border.html)tep 1
Close panel "Starts at with 30%"
Step 2
Shifting the boundary between panel "Center" and "Splitter above me" to top.
Step 3
Open panel "Starts at with 30%"
Step 4
Close panel "Starts at with 30%"

tvanzoelen
7 Feb 2012, 6:14 AM
I confirm that I see the same behaviour in 4.07. Probably a bug. In ExtJs 4.1 beta2 I do not see this behaviour.

As workaround you could set a resizeevent on the panel and refresh or update its layout.

vadimfso
7 Feb 2012, 7:48 AM
Thank you,

I try with resize event.