I am wrestling with my listbox and values in the listbox for some time now and I stumbled across another problem.
I am fetching data from my Access database (both the f
To fix your immediate issue, just use a fixed-width font in the ListBox:
listBox1.Font = new Font(FontFamily.GenericMonospace, listBox1.Font.Size);
Now your padding logic will work as you expect:
Consider Hans's point though; check into controls that already display multiple columns of data, like the ListView or a DataGridView.