Roo/XComponent.js
authorAlan Knowles <alan@roojs.com>
Wed, 5 Jul 2017 06:59:07 +0000 (14:59 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 5 Jul 2017 06:59:07 +0000 (14:59 +0800)
Roo/XComponent.js

index a86bc70..3d6a6fb 100644 (file)
@@ -183,8 +183,23 @@ Roo.extend(Roo.XComponent, Roo.util.Observable, {
                     }
                     if (["Nest", "Content"].indexOf(tree.xtype)  > -1)  {
                         // need to insert stuff...
-                    
-                    }
+                   this.parent =  {
+                        el : new Roo.bootstrap.layout.Border({
+                            el : document.body, 
+                
+                            center: {
+                                titlebar: false,
+                                autoScroll:false,
+                                closeOnTab: true,
+                                tabPosition: 'top',
+                                 //resizeTabs: true,
+                                alwaysShowTabs: false,
+                                hideTabs: true,
+                                //minTabWidth: 140
+                            }
+                        })
+                   
+                    };
                     if (typeof(Roo.bootstrap.Body) != 'undefined') {
                         this.parent = { el :  new  Roo.bootstrap.Body() };
                         Roo.debug && Roo.log("setting el to doc body");