Upgrade to ExtJS 3.1.1 - Released 02/08/2010
[extjs.git] / examples / ux / Spinner.js
index 0576c51..d755dd2 100644 (file)
@@ -1,6 +1,6 @@
 /*!
- * Ext JS Library 3.0.0
- * Copyright(c) 2006-2009 Ext JS, LLC
+ * Ext JS Library 3.1.1
+ * Copyright(c) 2006-2010 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
@@ -102,7 +102,7 @@ Ext.ux.Spinner = Ext.extend(Ext.util.Observable, {
 \r
     doResize: function(w, h){\r
         if (typeof w == 'number') {\r
-            this.el.setWidth(this.field.adjustWidth('input', w - this.trigger.getWidth()));\r
+            this.el.setWidth(w - this.trigger.getWidth());\r
         }\r
         this.wrap.setWidth(this.el.getWidth() + this.trigger.getWidth());\r
     },\r