From fa6753b1744481396b31b07c274b18693b27d16e Mon Sep 17 00:00:00 2001 From: "jminta%gmail.com" Date: Wed, 26 Jul 2006 03:03:37 +0000 Subject: [PATCH] Bug 344561 Day/Week view: Header boxes are misaligned if scrollbars are shown, patch by thomas.benisch@sun.com, r=jminta --- calendar/base/content/calendar-multiday-view.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/calendar/base/content/calendar-multiday-view.xml b/calendar/base/content/calendar-multiday-view.xml index c08dcf1603e..a7667a54a33 100644 --- a/calendar/base/content/calendar-multiday-view.xml +++ b/calendar/base/content/calendar-multiday-view.xml @@ -2311,9 +2311,6 @@ } } this.refresh(); - - // adjust scrollbar spacers - this.adjustScrollBarSpacers(); ]]> @@ -2508,6 +2505,12 @@ for each (col in this.mDateColumns) { col.column.endLayoutBatchChange(); } + + // adjust scrollbar spacers + // XXX For performance reasons this method call can be moved to the + // XXX constructor and the reorient method as soon as the views + // XXX are constructed statically (24 hrs). + this.adjustScrollBarSpacers(); ]]>