DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » Bugs » Vertical Scroll in IE7 Daypilot calendar

Vertical Scroll in IE7 Daypilot calendar

Hi Dan,
vertical scroll bar in daypilot calendar moves a bit towards left side(inwards) and distorts the UI.

Is there any quick fix available for it.
Sheraz - 4/8/2008 9:04:41 AM
Hi Sheraz,

I've explained this in an e-mail as well:

The scrollbar width is different in IE and FF (there is 1px difference). That's why DayPilot sets the default width to 16 and then it calls a special JavaScript function that checks the real scrollbar width and sets the last header column width accordingly.

This solution is sensitive to scrollbar tweaking (I saw you are using CSS styles to change the scrollbar).

You can try to remove the automatic width adjusting by skipping the fixScrollHeader() function call in Init() method (it's line 2321 in the uncompressed Calendar.src.js in the sources).
Dan Letecky - 4/9/2008 11:42:22 PM
Post reply