Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Listview icons show up blurry (C#)

I'm attempting to display a "LargeIcon" view in a listview control, however the images I specify are blurry. This is what I have so far: alt text http://img220.imageshack.us/img220/1005/blurryiconsql3.jpg

The .png files are 48x48 and that's what I have it set to display at in the ImageList properties. There's one thing that I've noticed (which is probably the cause) but I don't know how to change it. Inside the "Images Collection Editor" where you choose what images you want for the ImageList control, it looks like it's setting the wrong size for each image. alt text http://img83.imageshack.us/img83/5218/imagepropertiesmf9.jpg

As you can see the "PhysicalDimension" and the "Size" is set to 16x16 and not abled to be manipulated. Does anyone have any ideas? Many thanks!

like image 602
Game_Overture Avatar asked Jan 24 '23 02:01

Game_Overture


1 Answers

Be sure to set ImageList.ImageSize to 48 x 48 too.

like image 163
Kent Boogaart Avatar answered Feb 08 '23 23:02

Kent Boogaart