Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Event bars in Month view not aligned properly #24

Open
ajinkyac opened this issue Jun 21, 2013 · 1 comment
Open

Event bars in Month view not aligned properly #24

ajinkyac opened this issue Jun 21, 2013 · 1 comment

Comments

@ajinkyac
Copy link

Hi Stuart,

Currently the event bars for month view start out from its date box.
It looked proper after following changes:

File: Ext.ux.TouchCalendarMonthEvents.js
Line No: 106

Changes:

eventBar.setLeft((dayEl.dom.offsetLeft + (hasWrapped ? 0 : 4)) || (dayCellX + (hasWrapped ? 0 : spacing)));

eventBar.setTop(eventY - eventBarHeight - (barPosition * eventBarHeight + (barPosition * spacing) + spacing) - 5);

eventBar.setWidth((dayCellWidth * barLength) - (spacing * (doesWrap ? (doesWrap && hasWrapped ? 0 : 1) : 2)) - 5);

@trevoriancox
Copy link

Thanks for sharing!!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants