work provided by Chr.Fueller to tackle oversized events in calendar-week-print-pre-view

This commit is contained in:
Klaus Leithoff
2010-04-09 14:15:00 +00:00
parent b69a151568
commit 15609abbf4
2 changed files with 10 additions and 2 deletions

View File

@ -212,11 +212,12 @@ dd.getWH = function(d_o)
d_o.h = dd.getDivH(d_o);
if(d_o.css)
{
d_o.css.width = d_o.w + dd.px;
// dont set the width at the beginning
//d_o.css.width = d_o.w + dd.px;
d_o.css.height = d_o.h + dd.px;
d_o.dw = dd.getDivW(d_o)-d_o.w;
d_o.dh = dd.getDivH(d_o)-d_o.h;
d_o.css.width = (d_o.w-d_o.dw) + dd.px;
//d_o.css.width = (d_o.w-d_o.dw) + dd.px;
d_o.css.height = (d_o.h-d_o.dh) + dd.px;
}
else d_o.dw = d_o.dh = 0;