-1

I have a problem where my icon doesn't scale to fit when I zoom in on it when it's on my desktop.

enter image description here

Followed by when I zoom in. enter image description here

How can I make sure the image for my program scales as well?

It does scale down, but it stops scaling up after it gets to its default size.

I'm using Visual Studio and my software is done in C# WPF.

AlWooz
  • 23
  • 6

1 Answers1

3

This has nothing to do with code. Your *.ico File is missing the supported images.

The *.ico icons can have different images for multiple sizes, eg. 16x16, 32x32, 48x48, 128x128, 256x256.

There is this question on SuperUser how to embed them.

  • Hey, I followed the instructions but it still didn't work. My new *.ico file contains all the different sizes but it still acts the same way. – AlWooz Mar 14 '18 at 08:53
  • @AlWooz Did you refresh the Windows Internal Icon cache? https://superuser.com/questions/499078/refresh-icon-cache-without-rebooting – Smartis has left SO again Mar 14 '18 at 08:55
  • My mistake, seemed to be an issue why my setup-project where it didnt put the new icon inside the wizard, it kept using the old one. – AlWooz Mar 15 '18 at 16:19