Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My WPF icons are displayed very small

My WPF icons are displayed very small, as you can see in this image, can you please suggest what could be the problem? I tried to find some properties related to size but no success.

enter image description here

like image 393
user2381422 Avatar asked Dec 11 '25 08:12

user2381422


2 Answers

One problem could be the bitmap's resolution. Open the bitmap for example in Paint.NET and in the Resize Bitmap dialog check whether it is 72DPI or 96DPI. A large ribbon bitmap should be 32x32 Pixels at 96 DPI.

By the way, in your screenshot the bitmaps actually look ok. What makes you think they are too small?

like image 134
Thorsten Dittmar Avatar answered Dec 13 '25 09:12

Thorsten Dittmar


WPF uses an unusual resolution of 96 dpi... I'm guessing that your images have not been saved at this resolution.

like image 33
Sheridan Avatar answered Dec 13 '25 09:12

Sheridan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!