Setting the textwordwrap in timeline indicators is not working

Hi,

I'm using a timeline component with a timelinedatabaseadapter. When I set an annotations textwordwrap property to true in the database the wordwrap doesn't take effect.

When I add an end date to the indicator and make it a section then the sections textwordwrap works as it should. If I then delete the end date and make it an indicator again the textwordwrap property for the annotation doesn't take effect.

This is the code that is making the change for the textwordwrap property:

AIndicator.Annotation.Appearance.TextWordWrap := AFields.FieldByName('T_Wrap').AsBoolean;

ASection.Appearance.TextWordWrap := AFields.FieldByName('T_Wrap').AsBoolean;

Regards Greg

Hello,

By default the annotation is autosize (Width and Height property are -1). WordWrap is only used once the Width is set.

There was still a little fix needed to calculate the height of the annotation correctly when a width was set. This will be solved in the next release of the TMS FNC UI Pack.

Yeah, it was when I was setting the height and width values to something other than -1. I should've mentioned that too.

Thank you for the quick response.