[SOLVED] 16x16 images in treeview are blurred when displayed in web page

Answered
0
0

How can I scale PNG 16×16 images treeview node images correctly, currently they look blurred when displayed in web page.

  • You must to post comments
Best Answer
0
0

The size of the icons is set the theme and since we use svg icons they usually scale wall. Scaling of png images is not done by Wisej, all scaling of all images is done by the browser. Most theme use 20×20, some use 18×18. You can check in the theme on github.

However, when using an ImageList, you can set the scaling image in the ImageList. The TreeView only accepts images from the image list. I tried with a 16×16 png and it’s not scaled at all, which is the correct behavior since the image list is set to 16×16. See attached.

Attachment
  • You must to post comments
0
0

Thanks Luca.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.