From ba0cb37024353c9ba015e9b77d9113c31bd3d536 Mon Sep 17 00:00:00 2001 From: "mattwillis%gmail.com" Date: Fri, 26 Jan 2007 01:34:00 +0000 Subject: [PATCH] =?UTF-8?q?bug=20364420:=20Left-align=20events=20on=20mont?= =?UTF-8?q?h=20printout.=20Patch=20by=20Martin=20Schr=C3=83=C2=B6der=20,=20r1=3Dlilmatt,=20r2=3Dmvl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@218947 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/calendar/import-export/calMonthGridPrinter.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/calendar/import-export/calMonthGridPrinter.js b/mozilla/calendar/import-export/calMonthGridPrinter.js index 94689fe3762..bdcc1457739 100644 --- a/mozilla/calendar/import-export/calMonthGridPrinter.js +++ b/mozilla/calendar/import-export/calMonthGridPrinter.js @@ -310,13 +310,14 @@ function makeHTMLWeek(date, sortedList, targetMonth) { catColor = pb2.getCharPref("calendar.category.color."+item.getProperty("CATEGORIES").toLowerCase()); } catch(ex) {} - var style = 'font-size: 11px; background-color: ' + calColor + ';'; + var style = 'font-size: 11px; text-align: left;'; + style += ' background-color: ' + calColor + ';'; style += ' color: ' + getContrastingTextColor(calColor); if (catColor) { style += ' border: solid ' + catColor + ' 2px;'; } var item = - {time} {item.title} + {time} {item.title} ; innerTable.appendChild(item); }