PDA

View Full Version : [CLOSED][3.1.1] The afterlayout event is gone



Animal
21 Jan 2010, 12:21 AM
There is no code which fires it. And it's used internally, and by many applications.

Add this code into examples/layout/complex.html:



var viewport = new Ext.Viewport({
layout: 'border',
listeners: {
afterlayout: function() {
Ext.Msg.alert("Alert", "Viewport layed out");
}
},
items: [
...


No alert is seen.

htoyryla
23 Jan 2010, 1:57 PM
So this might explain my problem that ButtonGroup width behaves differently in 3.1.1beta than before.

jay@moduscreate.com
24 Jan 2010, 7:27 AM
So this might explain my problem that ButtonGroup width behaves differently in 3.1.1beta than before.

which explains why those examples for my book break in this version. :))

Jamie Avins
25 Jan 2010, 8:32 AM
Fixed in svn for 3.1.1 beta 2 (soon).