" 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'
}
];
}
this.el = Roo.DomHelper.append(document.body, elcfg , true);
- if (this.iframe) {
+ if (config.iframe) {
this.iframeEl = this.el.select('iframe',true).first();
}
tabTip : '',
iframe : false,
+ iframeEl : false,
setRegion : function(region){
this.region = region;
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);
+
+
}
},