cocoabits / MASShortcut

Modern framework for managing global keyboard shortcuts compatible with Mac App Store. More details:
http://blog.shpakovski.com/2012/07/global-keyboard-shortcuts-in-cocoa.html
BSD 2-Clause "Simplified" License
1.52k stars 220 forks source link

Layout issue on macOS Big Sur #149

Closed GetToSet closed 3 years ago

GetToSet commented 4 years ago

It seems that macOS Big Sur added some extra padding on NSButtons and buttons drawn directly from NSButtonCell has their title stretched out of its bezel, which results bad look of MASShortcutView on macOS Big Sur.

NSButton

Examples below with bad layout of hint icons displayed outside of its bezel.

截屏2020-09-12 下午1 31 01 截屏2020-09-12 下午1 31 23
shpakovski commented 4 years ago

Hey @GetToSet Thanks a lot for the report! Not sure if I will have time to pick this up, so if anyone wants to fix this, you’re kindly welcome.

GetToSet commented 4 years ago

This behavior seems more like a bug of macOS. New beta (or perhaps GM) builds may roll out soon. I'll try to fix this problem if it still presents in later builds of macOS.

sweetppro commented 3 years ago

fixed in this pull request: https://github.com/shpakovski/MASShortcut/pull/159