X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6:/src/widgets/form/SliderField.js diff --git a/src/widgets/form/SliderField.js b/src/widgets/form/SliderField.js index 058bda7b..0a408fa6 100644 --- a/src/widgets/form/SliderField.js +++ b/src/widgets/form/SliderField.js @@ -1,13 +1,13 @@ /*! - * Ext JS Library 3.2.0 - * Copyright(c) 2006-2010 Ext JS, Inc. - * licensing@extjs.com - * http://www.extjs.com/license + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license */ /** * @class Ext.form.SliderField * @extends Ext.form.Field - * Wraps a {@link Ext.Slider Slider} so it can be used as a form field. + * Wraps a {@link Ext.slider.MultiSlider Slider} so it can be used as a form field. * @constructor * Creates a new SliderField * @param {Object} config Configuration options. Note that you can pass in any slider configuration options, as well as @@ -65,6 +65,7 @@ Ext.form.SliderField = Ext.extend(Ext.form.Field, { }; Ext.form.SliderField.superclass.onRender.call(this, ct, position); this.wrap = this.el.wrap({cls: 'x-form-field-wrap'}); + this.resizeEl = this.positionEl = this.wrap; this.slider.render(this.wrap); },