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

Customization improvements #266

Open
IonutNegru87 opened this issue Oct 21, 2021 · 2 comments
Open

Customization improvements #266

IonutNegru87 opened this issue Oct 21, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@IonutNegru87
Copy link

Is your feature suggestion related to a problem? Please describe.
I would like to be able to completely remove the separator between hour and days.
I would like to be able to change the text color for events in the past.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Property to show/hide the column separator between hour and calendar (currently it just can be doubled as the one from the actual day is still shown).
Property to set the text color for events that are in the past (like we can do with the background of past events). Currently we can only set the defaultEventColor.

Describe alternatives you've considered
Fork the library and add the customizations myself.

Additional context
None

@IonutNegru87 IonutNegru87 added the enhancement New feature or request label Oct 21, 2021
@thellmund
Copy link
Owner

👋 You should already be able to do this. You can set showDaySeparator and showHourSeparator to false to hide the separators. To change the text colour of events in the past, you can set a custom colour in onCreateEntity() by calling .setStyle() on the builder.

@IonutNegru87
Copy link
Author

Thank you @thellmund .
I was indeed able to update the text color programmatically via WeekViewEntity.Style.

For the separator, I still want to keep the hour & day separators, I just wanted to remove the separator between the hour & calendar. Something like we have for the header with showHeaderBottomLine.
I found showTimeColumnSeparator=false, which initially I thought it would do that, but it doesn't work in combination with showDaySeparator=true.

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