Page 1 of 1

Rectangle tool TextAlignment doesn't work with multi-lines.

Posted: Fri Oct 10, 2008 3:20 pm
by 13048148
If I have a multi-line annotation in a Rectangle tool with the TextAlignment set to center, it doesn't center the text on each line.

Example:

Long Line Of Text
Short
A

Should be:

Long Line Of Text
......Short
.........A

The way TextAlignment is currently implemented, it simply shifts all the lines a few pixels left or right based on the longest line.

To reproduce, use the chart editor in the designer to add a rectangle tool. Paste the text above into it. Then, change the text alignment and observe the effects.

Thanks for the help.

Posted: Fri Oct 10, 2008 3:52 pm
by narcis
Hi LT411,

Thanks for reporting. I could reproduce the issue here and added it (TF02013444) to the defect list to be fixed for next releases.