in reply to string alignment

I don't know what a listbox is, but here's a guess:

The first thing I would point out is that not all fonts have characters that are all the same width. Based on your code sample, however, it looks like the listbox is condensing sequences of spaces into a single space. Have you tried using the   character?

Replies are listed 'Best First'.
Re^2: string alignment
by AnomalousMonk (Archbishop) on Feb 17, 2012 at 22:05 UTC
    Based on your code sample ...

    What code sample?

      Whoops, not code sample, but just example. Sorry!