Use a MultiLine instead for the text, and put:

HTML Code:
<center> The Text </center>
In it so it would auto center it without having to do the mathematical process.