strange error on fitToParent
Jack,I started to use the Alpha version for testing purposes and I found a small problem with the fitToParent function.
On version .3x it is working fine but on 1.0 Alpha I got the following error on ext-all.js:
Line 3198: p has no properties
3196 fitToParent : function(monitorResize, targetParent){
3197 var p = Ext.get(targetParent || this.dom.parentNode);
3198 p.beginMeasure();
3199 var box = p.getBox(true, true);
3200 p.endMeasure();
3201 this.setSize(box.width, box.height);
3202 if(monitorResize === true){
3203 Ext.EventManager.onWindowResize(this.fitToParent, this, true);
3204 }
3205 return this;
3206 },
Example with 1.0 Alpha:
http://demartin.base64.com.br/fittoparent1.html
Example with 0.33:
http://demartin.base64.com.br/fittoparent0.html
Did I missed something?
Regards,
Fabio De Martin
页:
[1]