-
Notifications
You must be signed in to change notification settings - Fork 176
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
Calendar custom style #204
Comments
no built in option, sorry, but you can implement your own entry view factory and use whatever you like. Subclass from EntryView(Base?) and set the background via API. entryView.setBackground(new Background(..... |
Thank you! |
So I have this: But the background color doesn't change |
You have to create a subclass of the superclass of DayEntryView. Otherwise CSS will override your settings. |
It doesn't change the color neither. But using dev.setStyle("-fx-background-color: #CC88E3;"); makes it. Again, thank you very much |
Hi,
I'm creating a Calendarview in which I could have more than 7 styles, and they can be customized, so the backgorund color will be saved in the database. Is there the possibility to set customized styles for calendars taking into consideration that I can't have them specified in a stylesheet because they will come from a database?
Thanks
The text was updated successfully, but these errors were encountered: