examples/bootstrap/left_siderbar.bjs
authorMicheal <micheal@roojs.com>
Tue, 2 Dec 2014 08:32:54 +0000 (16:32 +0800)
committerMicheal <micheal@roojs.com>
Tue, 2 Dec 2014 08:32:54 +0000 (16:32 +0800)
examples/bootstrap/left_siderbar.js

examples/bootstrap/left_siderbar.bjs
examples/bootstrap/left_siderbar.js

index af1a123..0b4620c 100644 (file)
@@ -8,7 +8,13 @@
     "items" : [
         {
             "xtype" : "Body",
-            "$ xns" : "Roo.bootstrap"
+            "$ xns" : "Roo.bootstrap",
+            "items" : [
+                {
+                    "xtype" : "Container",
+                    "$ xns" : "Roo.bootstrap"
+                }
+            ]
         }
     ]
 }
\ No newline at end of file
index a223206..21ca7d0 100644 (file)
@@ -17,6 +17,14 @@ left_siderbar = new Roo.XComponent({
         return {
             '|xns' : 'Roo.bootstrap',
             xtype : 'Body',
-            xns : Roo.bootstrap
+            xns : Roo.bootstrap,
+            items : [
+               {
+                    '|xns' : 'Roo.bootstrap',
+                    xtype : 'Container',
+                    xns : Roo.bootstrap
+                }
+            ]
+
         };    }
 });