From: Alan Knowles Date: Tue, 2 Feb 2021 03:04:03 +0000 (+0800) Subject: Uncommited changes synced X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=refs%2Fheads%2Fwip_alan_T6584_make_popover_a_primary_container Uncommited changes synced --- diff --git a/docs/src/Roo_bootstrap_panel_Content.js.html b/docs/src/Roo_bootstrap_panel_Content.js.html index 1fb9bd673b..8b3677ea6e 100644 --- a/docs/src/Roo_bootstrap_panel_Content.js.html +++ b/docs/src/Roo_bootstrap_panel_Content.js.html @@ -65,11 +65,11 @@ " roo-layout-inactive-content", id: config.id||el }; - if (this.iframe) { + if (config.iframe) { elcfg.cn = [ { tag : 'iframe', - style : 'border 0px', + style : 'border: 0px', src : 'about:blank' } ]; @@ -81,7 +81,7 @@ } this.el = Roo.DomHelper.append(document.body, elcfg , true); - if (this.iframe) { + if (config.iframe) { this.iframeEl = this.el.select('iframe',true).first(); } @@ -220,6 +220,7 @@ tabTip : '', iframe : false, + iframeEl : false, setRegion : function(region){ this.region = region; @@ -409,8 +410,14 @@ panel.load({ this.el.setSize(width, height); } var size = this.adjustForComponents(width, height); + if (this.iframe) { + this.iframeEl.setSize(width,height); + } + this.resizeEl.setSize(this.autoWidth ? "auto" : size.width, this.autoHeight ? "auto" : size.height); this.fireEvent('resize', this, size.width, size.height); + + } },