Nam G VU
Nam G VU

Reputation: 35434

What is the size of the icons in the system tray?

I want to change the notification icon of my application but don't know what is the size so as to make it properly displayed. Currently it is automatically resized and break my pixels! Please help!

Upvotes: 12

Views: 33597

Answers (7)

Usman Ilyas
Usman Ilyas

Reputation: 116

Windows 7 has 16*16 pixels icons in system tray.

Windows 10 has 16x16 pixel icons in the system tray as well: network icon in windows 10

Upvotes: 2

lenooh
lenooh

Reputation: 10682

In ubuntu (unity) it seems to be 24x24 px.

Upvotes: 2

Quppa
Quppa

Reputation: 1913

In fact the size of the icon will vary according to the system DPI.

WPF exposes the recommended pixel width and height of small icons with SystemParameters.SmallIconWidth and SystemParameters.SmallIconHeight. (WinForms exposes the equivalent SystemInformation.SmallIconSize - both just wrap around GetSystemMetrics and SM_CXSMICON/SM_CYSMICON.)

Microsoft recommends including 16x16 and 32x32 pixel icons.

Upvotes: 14

YotaXP
YotaXP

Reputation: 4074

I believe it has always been 16x16, but at some point between 98 and XP (Maybe it was CE vs NT?) they learned to support full color and alpha transparency. If you can, try to include a 256 color palleted version in the ICO for safe mode if not older versions of Windows.

Upvotes: 1

Android Eve
Android Eve

Reputation: 14974

It's 16x16. If you create a .ico file that supports 16, 32, 48 and 256 sizes, you're covered.

Upvotes: 13

David C
David C

Reputation: 678

Outlook has an 16*16 pixels icon.

Upvotes: 1

Fabian Fritz
Fabian Fritz

Reputation: 390

For XP it's 16 x 16

Upvotes: 3

Related Questions