In our application we have a standard ListView
, displaying 26 lines without requiring any scrollbars.
When running the application in Windows 7, the same ListView
displays only 21 lines in plain sight and you have to scroll to see the rest.
Obviously, Windows 7 renders the ListViewItem
larger, with more spacing or padding or something.
How do I compensate for this without changing the font size? It needs to display the same amount of rows as in Windows XP without scrolling. Can I somehow access a padding or spacing property on a ListViewItem
?
In reply to the answers give thus far -
Jason9825: The ListView's sizing is not the problem, but rather the size of the rows WITHIN the listview, I.E, the ListViewItems.
Abhinav S: No, it's not a resolution problem.
danberlove: The question of WHY I want to do this is irrelevant, the question we should focus on is HOW can this be done.