We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Referenced in #207
Here is a screenshot of the problem:
And here is the associated code:
func onReady() { iconData, err := os.ReadFile("icon/icon.ico") println(iconData) if err != nil { panic(err) } systray.SetTemplateIcon(iconData, iconData) systray.SetIcon(iconData) systray.SetTitle("Maitre'D MEV Service") systray.SetTooltip("Maitre'D MEV Service") titleMenuItem := systray.AddMenuItem("Maitre'D MEV Service", "Maitre'D MEV Service") // titleMenuItem.Disable() titleMenuItem.SetIcon(iconData) systray.AddSeparator() systray.AddMenuItem("Stop", "Stop the service") }
The tray icon itself doesn't have that problem, only menu items.
I am on Windows 11 Version 23H2 Build 22631.3155
EDIT: The icon looks fine when the menu item is disabled:
The text was updated successfully, but these errors were encountered:
The same question 。。。。。。
Sorry, something went wrong.
No branches or pull requests
Referenced in #207
Here is a screenshot of the problem:
And here is the associated code:
The tray icon itself doesn't have that problem, only menu items.
I am on Windows 11 Version 23H2 Build 22631.3155
EDIT: The icon looks fine when the menu item is disabled:
The text was updated successfully, but these errors were encountered: