-
7 Apr 2009 2:18 PM #1
[FIXED][3.0] Item.js setText
[FIXED][3.0] Item.js setText
A menu does not have any method called doAutoSize. It's layout does. Any call to setText will fail. I guess no one calls it!

Original:
Proposed:PHP Code:setText : function(text){
this.text = text||' ';
if(this.rendered){
this.textEl.update(this.text);
this.parentMenu.doAutoSize();
}
}
PHP Code:setText : function(text){
this.text = text||' ';
if(this.rendered){
this.textEl.update(this.text);
this.parentMenu.layout.doAutoSize();
}
}
-
7 Apr 2009 3:10 PM #2
Fixed.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote