Roo/form/ComboNested.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 04:58:51 +0000 (12:58 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Feb 2020 04:58:51 +0000 (12:58 +0800)
Roo/form/ComboNested.js

index 1ca12c7..a6af7b2 100644 (file)
@@ -271,7 +271,7 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         this.views[opts.list+1].getEl().setHeight( this.innerLists[0].getHeight());
         this.views[opts.list+1].getEl().setStyle({ display : rec.data.cn.length ? 'block' : 'none' });
         this.innerLists[opts.list+1].setHeight( this.innerLists[0].getHeight());
-        this.list.setWidth(lw * (opts.list + (rec.data.cn.length ? 1 : 0))); 
+        this.list.setWidth(lw * (opts.list + (rec.data.cn.length ? 2 : 1))); 
     }