* Base class for layout managers.
*/
Roo.LayoutManager = function(container, config){
- Roo.log('3');
-
Roo.LayoutManager.superclass.constructor.call(this);
-
this.el = Roo.get(container);
-
// ie scrollbar fix
if(this.el.dom == document.body && Roo.isIE && !config.allowScroll){
document.body.scroll = "no";
}else if(this.el.dom != document.body && this.el.getStyle('position') == 'static'){
-// this.el.position('relative');
+ this.el.position('relative');
}
-// Roo.log(this);
-// return;
this.id = this.el.id;
this.el.addClass("x-layout-container");
-
/** false to disable window resize monitoring @type Boolean */
this.monitorWindowResize = true;
this.regions = {};