Make app icon on task bar have a transparent background (UWA)

前端 未结 1 1478
温柔的废话
温柔的废话 2021-02-03 14:09

I am making a Universal Windows App and I want my apps icon on the task bar to have a transparent background so it isn\'t in a coloured box.

A lot of Microsoft\'s own st

相关标签:
1条回答
  • 2021-02-03 14:35

    You need to use the "altform-unplated" qualifier in your icon's filename. For example:

    SmallLogo.targetsize-32_altform-unplated.png
    

    If you really want to be thorough... For Square44x44Logo in your manifest, you should have 6 versions of the icon (normal, high contrast black, and high contrast white, x3 for unplated versions) for each of the following target sizes: 16, 20, 24, 30, 32, 36, 40, 48, 60, 64, 80, 96, and 256.

    For example, here's 256:

    SmallLogo.targetsize-256.png
    SmallLogo.targetsize-256_contrast-black.png
    SmallLogo.targetsize-256_contrast-white.png
    SmallLogo.targetsize-256_altform-unplated.png
    SmallLogo.targetsize-256_altform-unplated_contrast-black.png
    SmallLogo.targetsize-256_altform-unplated_contrast-white.png
    

    That's a lot of PNGs.

    0 讨论(0)
提交回复
热议问题