WPF应用程序中的任务栏丑陋图标 [英] Taskbar ugly icon in WPF application

查看:137
本文介绍了WPF应用程序中的任务栏丑陋图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任务栏中的图标在我的WPF应用程序中看起来非常难看。

The icon in the taskbar is looking very ugly in my WPF application.

设计师给我发了一些PNG,如:

The designer sent me some PNGs like:

32x32,64x64,96x96,128x128,192x192,256x256,512x512。

32x32, 64x64, 96x96, 128x128, 192x192, 256x256, 512x512.

我需要做什么才能获得goodloking任务栏图标?

What do I have to do to get the goodloking taskbar icon?

谢谢!

推荐答案

制作一个包含多个的.ico文件大小。根据 Windows图标视觉指南。拥有一个.ico文件将帮助Windows选择最佳大小并根据情况(应用程序图标,大任务栏,小任务栏等)进行适当缩放。

Make an .ico file containing multiple sizes. At a minimum, you should have the following sizes: 16x16, 32x32, 48x48, and 256x256 according to the Windows icon visual guidelines. Having a single .ico file will help Windows pick the best size and scale it appropriately depending on the situation (application icon, large taskbar, small taskbar, etc.)

如果你不是设计师,那么让你的设计师制作16x16图像也更好,因为你可能有更大的图像有太多的细节而且不能很好地缩小。如果较大的图像非常详细,那么设计师可以使较小的图像更简单,以便图标更好。上面链接的视觉指南有更多关于此的提示。

If you aren't a designer, then it's also better to let your designer make the 16x16 image, since it's possible the larger images you have have too much detail and do not scale down very well. If the larger images are very detailed, then the designer could make the smaller images simpler so that the icon shows better. The visual guidelines linked above have more tips about this.

这篇关于WPF应用程序中的任务栏丑陋图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆