examples/bootstrap/calendar.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 04:55:34 +0000 (12:55 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 04:55:34 +0000 (12:55 +0800)
examples/bootstrap/calendar.js

index 7a304f8..c06c28e 100644 (file)
@@ -26,15 +26,22 @@ Roo.example.calendar = new Roo.XComponent({
             xns: Roo.bootstrap,
             items : [
                  {
-                    xtype: 'Calendar',
+                    xtype: 'Container',
                     xns: Roo.bootstrap,
-                    cls : 'col-md-6',
-                    listeners : {
-                        render : function() {
-                            _this.cal = this;
-                        }
-                        
-                    }
+                    style :  'margin-top:50px', 
+                    items : [
+                        {
+                                    
+                            xtype: 'Calendar',
+                            xns: Roo.bootstrap,
+                            cls : 'col-md-6',
+                            listeners : {
+                                render : function() {
+                                    _this.cal = this;
+                                }
+                                
+                            }
+                         }
                  }
             ]
         };