Hey Guys
Just a quick one. Is it possible to change the size of the appointment width in a Ultra Day View?
The current way it works is that when you add an appointment it fill the appointment to the available size of the View. so if you have 2 at the same time, it makes them 50% of the total width each.
I would however like to set a pixel size for appointments, so if there is only one, it does not fill the entire width.
I hope that is clear
Thanks in advance for any help
Cheers
That might be theoretically possible using the IUIElementCreationFilter interface, but you would then be messing with some of the more complicated logic. The AppointmentUIElement's geographic placement reflects its start/end time and duration, and when the times for 2 (or more) intersect, their widths are negotiated so as to be able to display them all in their appropriate TimeSlots. Doing what you are suggesting here could interfere with that, producing unpredictable results.
Ok thanks for the heads up.
Sounds like something I should not mess with then The only reason i was looking at trying as that I am making a reservation system and the bookings that span the entire day view width, just seem to me like they are more important than the ones that are shared width. It is purely cosmetic, so not to worry