My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 106: Pixel value for calendar's height
5 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by pciarfella@proliphix.com, Sep 25, 2009
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?

fullcall1.png
40.9 KB   View   Download
fullcall2.png
43.4 KB   View   Download
Sep 25, 2009
Project Member #1 adamrs...@gmail.com
hmm thats really strange. are there any errors being thrown? it would help me the most 
if you could send me a html/js/css file that demonstrates what's happening, then i can 
debug on my end. thank you very much

you might look at the 'aspectRatio' option. there is currently no way to hardcode a 
pixel value though
Sep 25, 2009
#2 pciarfella@proliphix.com
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.
fullcal.html
1.4 KB   View   Download
Sep 25, 2009
Project Member #3 adamrs...@gmail.com
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
#4 pciarfella@proliphix.com
You're welcome.  Thanks for addressing it.
Sep 30, 2009
Project Member #5 adamrs...@gmail.com
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
Project Member #6 adamrs...@gmail.com
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
#7 mdpot...@gmail.com
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
Project Member #8 adamrs...@gmail.com
hi mdpotter,
not yet, but hopefully in the next minor release
Nov 26, 2009
Project Member #9 adamrs...@gmail.com
 Issue 183  has been merged into this issue.
Nov 26, 2009
Project Member #10 adamrs...@gmail.com
 Issue 190  has been merged into this issue.
Nov 27, 2009
Project Member #11 adamrs...@gmail.com
 Issue 207  has been merged into this issue.
Dec 2, 2009
Project Member #12 adamrs...@gmail.com
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
#13 mdpot...@gmail.com
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
Project Member #14 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Implemented
Aug 13, 2013
Project Member #15 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting