| Issue 106: | Pixel value for calendar's height | |
| 5 people starred this issue and may be notified of changes. | Back to list |
When the calendar (with no events) is first rendered, the Sunday column is narrow (width is set to 0 px). The calendar repaints correctly when either I page back/forth to a different month, when I resize the browser or when I turn off or on firebug. The problem happens without firebug being enabled or installed. I've seen the problem on FF 3.0 and 3.5. I'm using Fullcalendar 1.3. Screenshots of the problem are attached. Note the firebug output at the bottom. Thanks for the neat plugin. One other question ... I have a fixed are for my calendar and I will limit it to displaying up to 2 events per day ... is there a way to fix the calendar height through calendar properties?
Sep 25, 2009
Project Member
#1
adamrs...@gmail.com
Sep 25, 2009
Hi Adam. I've attached a simple html file that replicates the problem. It appears to be a firefox issue, as the page loads fine under IE7.
Sep 25, 2009
got it, was able to recreate it. haven't looked too deep into why its happening but will do that ASAP. a fix for this will be in the next minor release. thank you very much for your help pciarfella
Status:
Accepted
Sep 25, 2009
You're welcome. Thanks for addressing it.
Sep 30, 2009
the problem is, fullcalendar needs to be visible when it is first rendered, not
contained in a div with display:none.
in 1.3.1, the calendar actually wont be rendered at all if it is not visible (a feature
not a bug). to force it to render, use the 'render' method (not documented yet)
so in your paintTodayTab() function, at the end, add this line:
$('#multimonth').fullCalendar('render')
hope this helps,
adam
Oct 13, 2009
the render method is documented as of 1.3.2. this part of the issue should be solved. let me know if any questions. however, im keeping this issue going for the other thing you mentioned.. hardcoding the calendar's height. should probably have a 'height' option in addition to the 'aspectRatio' option. will post to this thread when i make progress. (Will be in a minor release after i get 1.4 out)
Summary:
Pixel value for calendar's height
Oct 25, 2009
Adam, First, great script -- had to say that to start with... but is there any progress on the fixed value for the calendar height? or perhaps a function to set it to 100% of the containing div so any modifications to the div's size will affect the calendar size.
Oct 31, 2009
hi mdpotter, not yet, but hopefully in the next minor release
Nov 26, 2009
Issue 183 has been merged into this issue.
Nov 26, 2009
Issue 190 has been merged into this issue.
Nov 27, 2009
Issue 207 has been merged into this issue.
Dec 2, 2009
this is now possible in 1.4.2 (just released).. the 'height' and 'contentHeight' options http://arshaw.com/fullcalendar/docs/index.php#basic-options you can also use setters with them http://arshaw.com/fullcalendar/docs/methods.php#dynamically-getting-setting-properties
Status:
Fixed
Dec 3, 2009
This is great! A lot in this new release that will be a big advantage for users. I know I said it before but thanks again for the great script.
Aug 13, 2013
(No comment was entered for this change.)
Status:
Implemented
Aug 13, 2013
(No comment was entered for this change.)
Status:
Released
|
|
| ► Sign in to add a comment |