[Gambas-bugtracker] Bug #1847: icons not look correct

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Sep 8 08:31:03 CEST 2020


Comment #6 by Benoît MINISINI:

Ah OK, it's the automatic dark theme support that modifies the icon. It is triggered when you use the Picture class array accessor, and so when you set the Picture property of the Trayicon object.

I didn't think about the TrayIcon picture property: it should not be automatically adapted to dark themes, as it is usually an application specific icon.

As a workaround, you can set the Picture property by code:

TrayIcon1.Picture = Picture.Load("trasyicon.png")

Benoît MINISINI changed the state of the bug to: Accepted.

More information about the Bugtracker mailing list