In DayPilotMonth, in some events I need to show just a single line of Text, and in others I need to show multiple lines of text. As space on the screen (and inside the day "cell") is limited, I would like the event height to effectively "autosize" to it's contents OR, give me the ability to specify the height of the event in BeforeEventRender.
Perhaps, you could expose an e.EventHeight property on the event args parameter, or maybe even expose the CssStyle of the DIV which is the container for the Event Text.
Can you please let me know if there are any plans to incorporate this functionality.
BTW: thanks for adding event bubbles to DayPilotMonth - i needed these too :)
Regards
Simon Edwards
mailto:coding(REMOVEME)@controlbox(ANDME).co(ANDMETOO).uk
Simon Edwards
-
2/25/2008 7:09:05 PM
This is a little bit difficult because all the calculations assume that all event heights are the same (it's further complicated by the multi-day events).
Maybe it would be possible to allow custom height in integer multiples of the default height (i.e. 1, 2, 3 rows) but it's still a good amount of work. The reasons seem to be valid but I still need to give it a thought.
I appreciate it may not be as straight forward as it sounds, but thanks for giving it some thought.
Simon Edwards
-
2/27/2008 10:07:42 AM