star-tek-mb / zig-tray

Create tray applications with zig
12 stars 3 forks source link

feat: add high dpi support #4

Closed jinzhongjia closed 1 week ago

jinzhongjia commented 1 week ago

more info: MicroSoft Docs

The following are screenshots without high dpi support and with high dpi support enabled:

My thinkpad is 3k resolution

disable high-dpi support:

屏幕截图 2024-06-19 194344

enable high-dpi support: 屏幕截图 2024-06-19 194513

jinzhongjia commented 1 week ago

Although windows prefers developers to set this via manifest , it may be better for zig to use API call

jinzhongjia commented 1 week ago

By the way, I recommend using rebase when merging. Merging will make the entire commit record confusing.

star-tek-mb commented 1 week ago

Hi! Nice change, I like it very much. Thank you for your work.

jinzhongjia commented 1 week ago

I switched my system back to archlinux and will try to add linux tray support next