/**
* @class Roo.LayoutDialog
* @extends Roo.BasicDialog
- * @children Roo.ContentPanel
+ * @children Roo.panel.Content
* @parent builder none
* Dialog which provides adjustments for working with a layout in a Dialog.
* Add your necessary layout config options to the dialog's config.<br>
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,
}
});
innerLayout.beginUpdate();
- innerLayout.add("east", new Roo.ContentPanel("dl-details"));
- innerLayout.add("center", new Roo.ContentPanel("selection-panel"));
+ innerLayout.add("east", new Roo.panel.Content("dl-details"));
+ innerLayout.add("center", new Roo.panel.Content("selection-panel"));
innerLayout.endUpdate(true);
var layout = dialog.getLayout();
layout.beginUpdate();
- layout.add("center", new Roo.ContentPanel("standard-panel",
+ layout.add("center", new Roo.panel.Content("standard-panel",
{title: "Download the Source", fitToFrame:true}));
- layout.add("center", new Roo.NestedLayoutPanel(innerLayout,
+ layout.add("center", new Roo.panel.NestedLayout(innerLayout,
{title: "Build your own roo.js"}));
layout.getRegion("center").showPanel(sp);
layout.endUpdate();
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
/**
- * @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..
/**
* Get the BorderLayout for this dialog
- * @return {Roo.BorderLayout}
+ * @return {Roo.layout.Border}
*/
getLayout : function(){
return this.layout;