Munter
12 Jan 2010, 7:05 AM
Slider.onResize doesn't call it's superclasses onRender method.
Thus the 'resize' event on Slider itself doesn't get fired.
Here is the override to fix the problem:
Ext.override(Ext.Slider, {
onResize : function(w, h){
Ext.Slider.superclass.onResize.apply(this, arguments);
this.innerEl.setWidth(w - (this.el.getPadding('l') + this.endEl.getPadding('r')));
this.syncThumb();
}
});
--
Munter
Thus the 'resize' event on Slider itself doesn't get fired.
Here is the override to fix the problem:
Ext.override(Ext.Slider, {
onResize : function(w, h){
Ext.Slider.superclass.onResize.apply(this, arguments);
this.innerEl.setWidth(w - (this.el.getPadding('l') + this.endEl.getPadding('r')));
this.syncThumb();
}
});
--
Munter