X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=widgets%2FComboBoxLister.js;h=fc2e55aee7051f9b679864dd984dd5a6ed90619a;hb=443623f47935eb52acd65a3ff0d84eab1fd5a98b;hp=73bc43b783f3d8944faf3323761ff42585d4cf35;hpb=e3a05967d41d6481940133faf042f376e9c36dc8;p=Pman.Core diff --git a/widgets/ComboBoxLister.js b/widgets/ComboBoxLister.js index 73bc43b7..fc2e55ae 100644 --- a/widgets/ComboBoxLister.js +++ b/widgets/ComboBoxLister.js @@ -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); }); },