You can achieve this by using the Floating fields inside the static text.
To test this, place a Text (not a Text Field) control on the form and enter some static text.
Then place the cursor inside the static text ( by double click inside the Text) and then choose Insert menu-> Floating field.
The floating field will be placed where the cursor is highlighted. It will be like a Text Field inside the Text.
You can assign the value at run time to this field, so the static text will re-align to fit the value at runtime.
Thanks
Srini