monthly view doesnt have scroll bar

55 views
Skip to first unread message

karun kumar

unread,
Jun 18, 2012, 4:26:56 AM6/18/12
to gwt...@googlegroups.com
Hi
 
I am using gwt-cal in my gwt application.
 
since my application in displayed in dash board the display area will be less. if gwt-cal is displayed in an area around 100 X 100 px and then on selecting the monthly view complete 30 days is not visible neither scroll bar appears But scroll bar appears in day and week view in similiar display area.
 
is it possible to make scroll bar appear in montly view on reducing display area.
 
is there any other work around for this issue.
 
screen shot attached for more reference.
 
 
Thanks
karun
 
gwt-cal_month-view.JPG

bradr

unread,
Jul 2, 2012, 5:11:53 PM7/2/12
to gwt...@googlegroups.com
Hi Karun, the month view is not really meant to be displayed at 100x100, so we don't have any scroll technology built-in to the gwt-cal library.

However, I believe you could implement scrolling outside of gwt-cal itself. For example, you could set a min-width / height on the page to enforce page scrolling (this is what Google Calendar does), or your could put the Calendar inside a ScrollView, and set a minimum height for the calendar. That way, if the Calendar (child) exceeds the bounds of the ScrollView (parent), scroll bars will be displayed.

I recommend you play around with Google Calendar to see what they do. They have a solution, and it seems to be at the page-level, as opposed to being implemented in their calendar widget.

karun kumar

unread,
Jul 11, 2012, 11:35:43 AM7/11/12
to gwt...@googlegroups.com
Hi Brad,
 
Thanks for you input, i will handle scroll bar at page level.
 
Regards
karun

--
You received this message because you are subscribed to the Google Groups "gwt-cal" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gwt-cal/-/VP2DZ_Q-dJYJ.
To post to this group, send email to gwt...@googlegroups.com.
To unsubscribe from this group, send email to gwt-cal+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gwt-cal?hl=en.

Reply all
Reply to author
Forward
0 new messages