.Net ListView and System's Icon Size

Posted by WhoaNow on Stack Overflow See other posts from Stack Overflow or by WhoaNow
Published on 2010-05-22T04:08:45Z Indexed on 2010/05/22 4:10 UTC
Read the original article Hit count: 472

Filed under:
|
|
|

I have a ListView using the LargeIcon View mode with some 64x64 thumbnails. The problem is that the padding between ListViewItems is somehow based on the system's Icon size value (Display Properties > Appearance > Advanced > Icon).

The default for XP seems to be 32 and the ListView and its thumbnails look fine, but with higher Icon sizes, the items are spaced out horrendously. Is there any way to override this behavior and force it to use the same spacing?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET