title: How can I align strings added as listbox items?
body: <p>I have a listbox where I want to display a list of names and highscores from a character class.  I use <code>ListBox.Items.Add</code> to add the following string for each character: </p>
  
  <pre><code>public String stringHighscore()
      {
          return name + "\t\t\t" + score.ToString();
      }
  </code></pre>
  
  <p>The problem is that when the name exceeds a certain length, the score gets pushed to the right. The listbox looks like this (sorry, my rep doesn't allow me to post images yet):</p>
  
  <p><a href="http://tinypic.com/r/9h734j/5" rel="nofollow">(Link to the listbox image on tinypic)</a></p>
  
  <p>I have thought this may be due to the "\t" but I am not sure. How can I solve this and properly align the scores? Would it be better if I used two listboxes, one for names and one for scores?</p>