From d29fbbc27472d77dbc2bbf42f31a6ddcfbe997f4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Feb 2020 12:56:12 +0800 Subject: [PATCH] Roo/form/ComboNested.js --- Roo/form/ComboNested.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Roo/form/ComboNested.js b/Roo/form/ComboNested.js index ef2527e127..ea2935b061 100644 --- a/Roo/form/ComboNested.js +++ b/Roo/form/ComboNested.js @@ -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 }); -- 2.39.2