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

index dffa020..99e8707 100644 (file)
@@ -522,8 +522,8 @@ Roo.extend(Roo.form.ComboBox, Roo.form.TriggerField, {
             tw += this.editicon ? this.editicon.getWidth() : 0;
             var x = w - tw;
             this.el.setWidth( this.adjustWidth('input', x));
-            Roo.log(x);
-            this.trigger.setX(x);
+            
+            this.trigger.setStyle('left', x+'px');
         }