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

index ef2527e..ea2935b 100644 (file)
@@ -125,7 +125,9 @@ Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
         
         var lw = Math.floor(
                 ((this.listWidth || Math.max(this.wrap.getWidth(), this.minListWidth)) - this.list.getFrameWidth('lr')) / 3
-            );;
+        );
+        
+        this.list.setWidth(lw); // default to '1'
 
         var il = this.innerLists[i] = this.list.createChild({cls:cls+'-inner'});
         //il.on('mouseover', this.onViewOver, this, { list:  i });