Roo/calendar/View.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 12:22:01 +0000 (20:22 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 12:22:01 +0000 (20:22 +0800)
Roo/calendar/View.js

index ffb3128..4b12e86 100644 (file)
@@ -728,7 +728,7 @@ Roo.extend(Roo.calendar.View, Roo.BoxComponent,  {
                 var boxes = Math.ceil((rows[i].end.dateValue - rows[i].start.dateValue) / 86400000) + 1;
 //                cg.setWidth(ebox.right - sbox.x -2);
 //                Roo.log(boxes);
-                cg.setWidth(134);
+                cg.setWidth(134 * boxes);
                 
             }