X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2FLayoutDialog.js;h=f269fe8fbb505aae96111c96336744e01d0f8ac1;hb=10693a871ee6374b8e9f19c344ceb447ed0531d2;hp=2bbc9d7f764490051328bca8ce86b5fa38b2c6d0;hpb=7dfd0d3cd68424e103991ef6946d2368cbe08a81;p=roojs1 diff --git a/Roo/LayoutDialog.js b/Roo/LayoutDialog.js index 2bbc9d7f76..f269fe8fbb 100644 --- a/Roo/LayoutDialog.js +++ b/Roo/LayoutDialog.js @@ -29,7 +29,7 @@ if(!dialog){ dialog.addButton("Build It!", this.getDownload, this); // we can even add nested layouts - var innerLayout = new Roo.BorderLayout("dl-inner", { + var innerLayout = new Roo.layout.Border("dl-inner", { east: { initialSize: 200, autoScroll:true, @@ -74,7 +74,7 @@ Roo.LayoutDialog = function(el, cfg){ config.autoTabs = false; Roo.LayoutDialog.superclass.constructor.call(this, el, config); this.body.setStyle({overflow:"hidden", position:"relative"}); - this.layout = new Roo.BorderLayout(this.body.dom, config); + this.layout = new Roo.layout.Border(this.body.dom, config); this.layout.monitorWindowResize = false; this.el.addClass("x-dlg-auto-layout"); // fix case when center region overwrites center function @@ -92,19 +92,19 @@ Roo.extend(Roo.LayoutDialog, Roo.BasicDialog, { /** - * @cfg {Roo.LayoutRegion} east + * @cfg {Roo.layout.Region} east */ /** - * @cfg {Roo.LayoutRegion} west + * @cfg {Roo.layout.Region} west */ /** - * @cfg {Roo.LayoutRegion} south + * @cfg {Roo.layout.Region} south */ /** - * @cfg {Roo.LayoutRegion} north + * @cfg {Roo.layout.Region} north */ /** - * @cfg {Roo.LayoutRegion} center + * @cfg {Roo.layout.Region} center */ /** * @cfg {Roo.Button} buttons[] Bottom buttons.. @@ -129,7 +129,7 @@ Roo.extend(Roo.LayoutDialog, Roo.BasicDialog, { /** * Get the BorderLayout for this dialog - * @return {Roo.BorderLayout} + * @return {Roo.layout.Border} */ getLayout : function(){ return this.layout;