X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=examples%2Fbootstrap%2Fnested.js;h=51689a5bba2fb07026ec86c080ab6c7765a8e7f4;hp=ce64958361069b252fab97006aff808b5a7a21ce;hb=d05c1b9c441d77053f36414a3720ed1b4ff901ba;hpb=c3427c71edb63ae9295c4793c7500cafb9308700 diff --git a/examples/bootstrap/nested.js b/examples/bootstrap/nested.js index ce64958361..51689a5bba 100644 --- a/examples/bootstrap/nested.js +++ b/examples/bootstrap/nested.js @@ -32,8 +32,17 @@ Example.Nested = new Roo.XComponent({ xtype : 'Region', xns: Roo.bootstrap.layout, autoScroll: false, - tabPosition:'top', - titlebar: true + tabPosition:'west', + titlebar: true + }, + west: { + xtype : 'Region', + xns: Roo.bootstrap.layout, + autoScroll: false, + tabPosition:'west', + titlebar: true, + initialSize: 200, + title : "Menu" }, items : [ { @@ -126,12 +135,14 @@ Example.Nested = new Roo.XComponent({ maxSize: 400, autoScroll:true, collapsible:true, - titlebar: true + titlebar: true, + tabPosition : 'bottom' }, center: { xtype : 'Region', xns: Roo.bootstrap.layout, autoScroll:true, + tabPosition:'west' }, west: { @@ -150,7 +161,15 @@ Example.Nested = new Roo.XComponent({ { xtype : 'Content', xns: Roo.bootstrap.panel, - title : "More Info", + title : "South Tab 1", + region : 'south', + html : 'some body south' + }, + { + xtype : 'Content', + xns: Roo.bootstrap.panel, + title : "South Tab 2", + background : true, region : 'south', html : 'some body south' }, @@ -161,6 +180,13 @@ Example.Nested = new Roo.XComponent({ region : 'center', html : 'some body center' }, + { + xtype : 'Content', + xns: Roo.bootstrap.panel, + title : "the body 2", + region : 'center', + html : 'some body center 2 ' + }, { xtype : 'Content', @@ -298,7 +324,7 @@ Example.Nested = new Roo.XComponent({ }, - { + { xtype : 'Content', xns: Roo.bootstrap.panel, title : "Title Center",