From 3d80ac7e0a341eac5e7982846ffb66b462e2069a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 6 May 2010 17:39:56 +0800 Subject: [PATCH] builder.html.js --- builder.html.js | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/builder.html.js b/builder.html.js index 38018a945..912381896 100644 --- a/builder.html.js +++ b/builder.html.js @@ -87,15 +87,25 @@ Builder = { // otherwise we are creating a layout area on the document.. - - return + // handles // contentpanel, nestedlayoutpanel, contentpanel.. etc. // force center region.. cfg.region = 'center'; cfg.background = false; - - this.layoutbase = new Roo[cfg.xtype](Roo.get( document.body), cfg); + this.layoutbase = new Ext.BorderLayout(document.body, { + + center: { + titlebar: false, + autoScroll:false, + closeOnTab: true, + tabPosition: 'top', + //resizeTabs: true, + alwaysShowTabs: true, + minTabWidth: 140 + } + }); + this.layoutbase.add( new Roo[cfg.xtype](Roo.get( document.body), cfg)); -- 2.39.2