mardi 24 février 2015

listview item list issues when font size is changed programmatically

How do I adjust everything in my listview when the font is changed programmatically?


If it's big, texts become like this "Hello Wo..."


Also if there are a lot of items and the font is big, some of the items are at the bottom of the listview and there is no vertical scroll bar


The only thing I changed on the listView is the "View" property which is set to "List"


Here's how I change the font



Font fonts = new Font(listView1.Font.FontFamily, (font size here));
listView1.Font = fonts;


I don't have this issue if the font is set in the properties.


Aucun commentaire:

Enregistrer un commentaire