Roo/form/ComboBox.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 11 Aug 2010 06:58:19 +0000 (14:58 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 11 Aug 2010 06:58:19 +0000 (14:58 +0800)
Roo/form/ComboBox.js

index 061fd26..84bd93b 100644 (file)
@@ -521,9 +521,8 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
             tw += this.addicon ? this.addicon.getWidth() : 0;
             tw += this.editicon ? this.editicon.getWidth() : 0;
             var x = w - tw;
-            this.el.setWidth( this.adjustWidth('input', x))
-            );
-            
+            this.el.setWidth( this.adjustWidth('input', x));
+            console.log(x);
             this.trigger.setX(x);
         }