Roo/form/ComboBoxArray.js
[roojs1] / Roo / form / ComboBoxArray.js
index 2894623..50b0b29 100644 (file)
@@ -101,6 +101,10 @@ Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
         
         this.combo = Roo.factory(this.combo, Roo.form);
         this.combo.onRender(ct, position);
+        if (typeof(this.combo.width) != 'undefined') {
+            this.combo.onResize(this.combo.width,0);
+        }
+        
         this.combo.initEvents();
         
         // assigned so form know we need to do this..
@@ -366,7 +370,7 @@ Roo.extend(Roo.form.ComboBoxArray.Item, Roo.BoxComponent, {
     
     defaultAutoCreate : {
         tag: 'div',
-        cls: 'x-cbarray-item-t',
+        cls: 'x-cbarray-item',
         cn : [ 
             { tag: 'div' },
             {