Open GoogleCodeExporter opened 9 years ago
Just out of curiosity do you get this issue if you set width to a fixed amount?
Like setWidth("500px")? I typically put the calendar inside a LayoutPanel so
that the OnResize event gets triggered and recalculates and redraws the
Calendar.
Also do you see this issue in any other browsers, or just Internet Explorer?
Original comment by Brad.Ryd...@gmail.com
on 4 May 2013 at 7:55
I tried commenting the line of the setWidth and setWidth("500px") and didn't
fix the problem yet.
In any browsers, yeah (I use Chrome as main). I checked:
- Chrome 26.0.1410.64 m
- Firefox 17.0.1
- IE10
It was the same for every explorer.
It's not very important for my objective because this case of an empty
month-view will happen not very very often, but I discovered this long time ago
and now I just got curious about.
Original comment by dico...@gmail.com
on 4 May 2013 at 11:27
Attachments:
Back here, I ended up today doing my own workaround thanks to a friend's idea.
Let's say I have the list "result" with the appointments. So:
if (result.size() == 0){
Appointment apDummy = new Appointment();
apDummy.setStart(firstDayOfMonth); //calculated before
apDummy.setEnd(lastDayOfMonth); //calculated before
calendar.addAppointment(apDummy);
calendar.removeAppointment(apDummy);
}else{
//Load appointments
}
Maybe don't need to set the dates, but I wanted to be sure. It loads so fast
the human eye can't see the dummy appointment before it dissapears.
I know: weird, dirty and more adjectives I could say, but it does work for me.
Original comment by dico...@gmail.com
on 22 Nov 2013 at 10:25
Original issue reported on code.google.com by
dico...@gmail.com
on 4 May 2013 at 7:28Attachments: