Is is possible to have timeline activity text be multiline and have the activity height adjust based on the text within the activity.
hi,
take a look at this thread
http://community.infragistics.com/forums/p/37356/229129.aspx#229129
if you have any further questions feel free to ask. I managed to display the appointments with variable heights using creation filters. if you simply add a control inside the appointment it will not change its height.
Hi,
Is this fixed in the 2010 version?
I have increase the height of the activity but the text is not wrapped. How do you add a custom control inside the appointment?
Umm, sorry for the bad advice, I think we might force the text to single-line somewhere. I just remembered, however, that another one of the 2009.2 features, the Infragistics.Win.UltraWinEditors.UltraControlContainerEditor, lets you host pretty much any control you like within an Appointment. You assign an instance of this thing to the control's AppointmentEditorComponent property, and it is like a blank UserControl so you can add a Label or TextBox, etc. control to it. You might have to write a few lines of code, but I think you might be able to get that to wrap text for you.
Brian,
Thanks for the follow-up. How can I go about getting this on your list as an enhancement? Using the timeline view would be a huge improvement for our customer, but without being multiline the users would not be able to see enough text to make it usable at a quick glance.
Brian Fallon"] No, activities are implied to be single-line and there is no mechanism that would tell the text to wrap. You might be able get multiline text by setting the ActivityHeight large enough, and manually adding the carriage return/line feed, but the control will not automatically adjust the activity height for you.
No, activities are implied to be single-line and there is no mechanism that would tell the text to wrap. You might be able get multiline text by setting the ActivityHeight large enough, and manually adding the carriage return/line feed, but the control will not automatically adjust the activity height for you.
I tried this also but at least on my TimeLineView, the text after it isn't visible even if I set the activity height. If anyone gets this to work, pleas post what you did to get it to display multiple lines.