Skip to content

Conversation

@sichang824
Copy link

@sichang824 sichang824 commented Dec 19, 2025

Implements a first-class macOS tray menu shortcut column.

  • Add TrayMenuItem(shortcut)
  • Render shortcut via NSMenuItem.keyEquivalent (+ modifier mask) so it is right-aligned/light gray
  • Update docs (EN/ZH) and add screenshot
  • Update example to demonstrate shortcuts

Render per-menu-item icons in macOS tray menus by passing icon assets as base64 to native and setting NSMenuItem.image.\n\nAlso update example and docs to demonstrate MenuItem.icon usage.
Use GitHub raw links for screenshots, avoid manual doctoc edits, add changelog entry, and cache base64 icon encoding on macOS.
Add TrayMenuItem(shortcut) and render it on macOS using NSMenuItem keyEquivalent so the shortcut appears right-aligned in the menu.

Update README/README-ZH and example with screenshot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant