Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizontal scrolling for FlutterWeekViewEvent items if there are more number of events on the same time. #54

Closed
krishnakumarcn opened this issue Aug 14, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@krishnakumarcn
Copy link

Currently, the card width for an event item -FlutterWeekViewEvent, is getting reduced as the number of events colliding on the same time increases.

Is there any way to control this behavior or a horizontal scroll is possible keeping the standard width for event item?

@krishnakumarcn krishnakumarcn added the enhancement New feature or request label Aug 14, 2020
@Skyost
Copy link
Owner

Skyost commented Aug 14, 2020

Is it possible for you to provide me an animated GIF of the situation you're describing ?

@krishnakumarcn
Copy link
Author

Screenshot_20200814-191645~2

I'm not sure if this feature is already there or not.

This is not a normal use case though,

So in the screenshot below, there are like 11 event occuring for the timeframe 7pm to 8pm.

If the number of events are say 3 or 4 or less than that, the width of the single event card can hold some or most of the title text which is meaningful to the end user.

But in this case, the card width got reduced in order to accomodate all the 11 events on the same row.

So fixing the minimum card width at 1/4th of the screen width or to some custom value and then if the contents cant fit in, then a horizontal scroll is what I'm expecting/proposing. (If this is already there, sorry. I couldn't make it work😐)

@Skyost
Copy link
Owner

Skyost commented Aug 15, 2020

In fact, this is the intended behavior. And it's not possible to expand the widget to place all events with a width of, let's say, screen width / 4, because of the Week View widget.

The Week View consists of multiple Day Views of the same width. So if one Day View spans, then the others will not have the same width, and some serious problems will occur (scrolling, positioning, ...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants