| Issue 1065: | Minimum Segment Height | |
| 1 person starred this issue and may be notified of changes. | Back to list |
The segment height in agenda view is currently calculated from the duration of the event.
A very short event like
{
title: 'Very Short Event',
start: new Date(y, m, d, 9, 0),
end: new Date(y, m, d, 9, 1),
allDay: false
}
is therfore shown with height 0px. (which is only a line).
I would like to have a minSegmentHeight : 12, option to set this minimum height. The method renderSlotSegs would then have to be changed:
From: seg.outerHeight = bottom - top;
To: seg.outerHeight = Math.max(opt('minSegmentHeight'), bottom - top);
I have implemented it and could provide a patch, if necessary.
Best regards,
Dominik
Aug 10, 2011
Project Member
#1
althaus.it
Status:
Discussing
Aug 10, 2011
Thank you for the great hint. I did not know, that
.fc-event {
min-height: 20px;
}
would override an explicitly set height on the div.
I'ld regard this issue as closed.
Aug 12, 2011
(No comment was entered for this change.)
Status:
Done
|
|
| ► Sign in to add a comment |