Alignment of first column in a ListView

M

Mark Rae

Hi,

Can anyone please tell me if it's possible to change the text alignment in
column[0] of a ListView control? If I try to change it in design view, it
won't move from left align. I can "change" it in code but, although it
doesn't raise an error, it doesn't change the actual alignment of the text
in the first column of a ListView.

Any assistance gratefully received.

Best regards,

Mark Rae
 
V

Vanessa

The way I solved this was setting the first column width to 0. The second
colum will align as desired. Why that is so I haven't been able to find out.
But the problem is easily solved.
 
M

Mark Rae

The way I solved this was setting the first column width to 0. The second
colum will align as desired. Why that is so I haven't been able to find out.
But the problem is easily solved.

Seems like a good workaround - thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top