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
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

|
#2
|
|
Sorry, I forgot...
It happens only when you try to resize the window. Regards ![]() |
|
#3
|
|
Fixed in the coming rev. Thanks for reporting.
![]() |
Fabio DeMartin报告了ExtJS 1.0 Alpha版本中FitToParent功能的一个错误,该错误仅在尝试调整浏览器窗口大小时出现。在0.33版本中则没有此问题。
71

被折叠的 条评论
为什么被折叠?



