Text wrap question

Hello!

If I have an a line of text such as: dinosaurs (t-rex and pterodactyl) and I put this into a textfield that is 300 px long - but I want “dinosaurs” to be on the first line and “(t-rex and pterodactyl)” to be on the second line, how do I do that? I set textfield.wordWrap = true; but that obviously is not going to do it because “dinosaurs” is not 300 px long and would take (t-rex) on the first line too.

I appreciate any help!!!