Roo/bootstrap/Calendar.js
authorAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 04:47:30 +0000 (12:47 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 18 Feb 2014 04:47:30 +0000 (12:47 +0800)
Roo/bootstrap/Calendar.js

index bbe4ce0..426365d 100644 (file)
@@ -215,6 +215,18 @@ Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component,  {
          
         
         return cfg;
+    },
+    
+    
+    initEvents : function()
+    {
+        this.resize();
+        
+        
+    },
+    resize : function() {
+        var sz  = this.el.getSize();
+        this.el.select('.fc-day-header',true).setWidth(sz / 7);
     }
    
 });