I'm pulling data from an API and concatenating it into a string that I'm formatting in every iteration.
Here is the piece of code where I format a string and add it to the listbox:
rezultat = String.Format("{0} {1} {2}", stevilka.PadRight(7), smer.PadRight(25), prihodi);
rezultati.Items.Add(rezultat);
Where rezultati is the name of the listbox and stevilka, smer, prihodi are the columns I am trying to align in a listbox. The current output looks like this:
I'm using a mono-font (courier new) but I guess there is something else I'm missing out?
