Trays
Tray Icons
ToDesktop allows you to upload a single tray icon for use across all platforms. Alternatively, you can upload separate icons for Windows, Mac, and Linux. These icons will display in the tray of the operating system that's running your application.
Before uploading your icon, there are general guidelines to know around icon dimensions and design considerations across platforms. Adhering to these guidelines will make your app feel more native to the target platform.
Icon Sizes
Each operating system recommends a different icon size:
You can choose to upload multiple icons by checking the checkbox for using separate icons.
When uploading an icon, ToDesktop will accept the .png
format, and convert it to the relevant format depending on the operating system (.icns
for Mac, .ico
for Windows, .png
for Linux). ToDesktop will also resize the icons, but it's better to provide icons with the correct dimensions or higher to avoid pixelation. If uploading a single icon, it's thus best to provide a 44x44
png file.
Mac Considerations
MacOS tray icons can be adjusted according to a user's theme. This option is made available via the "Adjust icon color with light/dark mode" checkbox.
For this to work correctly, however, you must supply a transparent .png
file that consists of a black and an alpha channel only. This will allow mac devices to automatically adjust your tray icon to be black when on normal theme, and white when on dark theme.