projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3a02934
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 6 May 2010 09:39:56 +0000
(17:39 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 6 May 2010 09:39:56 +0000
(17:39 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
38018a9
..
9123818
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-87,15
+87,25
@@
Builder = {
// otherwise we are creating a layout area on the document..
// 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;
// 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));