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

ODCalendarDayEventView #25

Closed
nobre84 opened this issue Nov 1, 2010 · 2 comments
Closed

ODCalendarDayEventView #25

nobre84 opened this issue Nov 1, 2010 · 2 comments
Labels

Comments

@nobre84
Copy link

nobre84 commented Nov 1, 2010

Hello, in my opinion there is an issue on the event view, it will draw its Title and Location with only one line of text, regardless of the available space in the balloon.
I have made a patch that will draw the Title word wrapped and after it is done, if there is enough space, will draw the Location also word wrapped.
I have also created properties to change the balloon color and the text color.

Gist with the patches: http://gist.github.com/658059

Regards
Rafael

@nobre84
Copy link
Author

nobre84 commented Nov 3, 2010

New diff that further improves the class with two configurable colors, balloonColorTop and balloonColorBottom, drawing the events with a gradient from both colors. If the dev doesn't provide a bottomColor, we get a darker version of the topColor and draw the gradient from that. If the dev doesn't want a gradient at all, just set both properties to the same color.

https://gist.github.com/661475

@devinross
Copy link
Owner

See other issue.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants