examples/bootstrap/homepage.bjs
authorMicheal <micheal@roojs.com>
Tue, 2 Dec 2014 05:45:50 +0000 (13:45 +0800)
committerMicheal <micheal@roojs.com>
Tue, 2 Dec 2014 05:45:50 +0000 (13:45 +0800)
examples/bootstrap/homepage.js

examples/bootstrap/homepage.bjs
examples/bootstrap/homepage.js

index 6a81a76..fb9f287 100644 (file)
                                                 {
                                                     "String cls" : "col-md-3 widget",
                                                     "xtype" : "Element",
-                                                    "$ xns" : "Roo.bootstrap"
+                                                    "$ xns" : "Roo.bootstrap",
+                                                    "items" : [
+                                                        {
+                                                            "xtype" : "Header",
+                                                            "Number level" : 3,
+                                                            "$ xns" : "Roo.bootstrap"
+                                                        }
+                                                    ]
                                                 }
                                             ]
                                         }
index c1a2f1d..12ce549 100644 (file)
@@ -538,7 +538,16 @@ homepage = new Roo.XComponent({
                                                     '|xns' : 'Roo.bootstrap',
                                                     cls : 'col-md-3 widget',
                                                     xtype : 'Element',
-                                                    xns : Roo.bootstrap
+                                                    xns : Roo.bootstrap,
+                                                    items : [
+                                                       {
+                                                            '|xns' : 'Roo.bootstrap',
+                                                            xtype : 'Header',
+                                                            level : 3,
+                                                            xns : Roo.bootstrap
+                                                        }
+                                                    ]
+
                                                 }
                                             ]