title: Cut status strip label to width of form
body: <p>I have a form with a status strip, which contains a progress bar an a label. Both of these are used to show the user the status/progress of several background workers.</p>
  
  <p>My problem is that sometimes the label is longer than the form is wide (it contains Parameter names that vary quite widely in length). The form has a constant width and is not re-sizable by the user. When this issue occurs the label just appears as blank, I would instead like to cut the label to the length of the form and concatenate "..." on the end.</p>
  
  <p>Can anyone give me some advise on where to start with this? i have tried Google and SO searches and have been unable to come up with anything similar. I essentially need to find the length of the string as it will display on the form, but I don't know where to start with that.</p>