more quote identeiifers fixessss
[Pman.Core] / widgets / ComboBoxLister.js
index 73bc43b..fc2e55a 100644 (file)
@@ -65,8 +65,10 @@ Ext.extend(Ext.form.ComboBoxLister, Ext.form.ComboBox, {
         this.wrap.dom.appendChild(this.trigger.dom);
          
         this.trigger.setStyle('position','relative');
-        this.trigger.setStyle('left', '0');
-        this.trigger.setStyle('top', '7px');
+        this.trigger.setStyle('left', '0px');
+        this.trigger.setStyle('top', '2px');
+        this.el.setStyle('vertical-align', 'text-bottom');
+        
         //this.trigger.setStyle('vertical-align', 'top');
         if (this.adder) {
             
@@ -97,7 +99,7 @@ Ext.extend(Ext.form.ComboBoxLister, Ext.form.ComboBox, {
         var x = w - tw;
         this.el.setWidth( this.adjustWidth('input', x));
             
-       // this.trigger.setStyle('left', w + 'px');
+        this.trigger.setStyle('left', '0px');
         
         if(this.list && this.listWidth === undefined){
             var lw = Math.max(x + this.trigger.getWidth(), this.minListWidth);
@@ -169,7 +171,7 @@ Ext.extend(Ext.form.ComboBoxLister, Ext.form.ComboBox, {
         }
         var _this = this;
         Roo.each(v, function(l) {
-                _this.addItem(l);
+            _this.addItem(l);
         });
         
     },