My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 722: aspectRatio supports view-option-hash
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 582
Owner:  ----
Closed:  Jan 2011


Sign in to add a comment
 
Reported by pierrick...@gmail.com, Nov 18, 2010
It would be nice to define aspectRatio for each view.
For exemple I set aspectRatio to 0 for the view agendaWeek.
But when I change to month it's too high.

I would like to do something like this :

aspectRatio: {
    month:1.35,
    agendaWeek:0
}

Currently I do this :

calendar = $('#calendarName').fullCalendar(
    viewDisplay: function(view) {
        if (calendar != null) {
            if (view.name == 'month') {
                calendar.fullCalendar('option', 'aspectRatio', 1.35);
            } else {
                calendar.fullCalendar('option', 'aspectRatio', 0);
            }
        }
    },
);

Nov 21, 2010
Project Member #1 adamrs...@gmail.com
(No comment was entered for this change.)
Summary: aspectRatio supports view-option-hash
Status: Maybe
Jan 1, 2011
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 582
Sign in to add a comment

Powered by Google Project Hosting