Is there a way to get to know the height of the macOS menubar?
For my Desktop app I use a window.top of minimum 45, but this is on my MacBook beneath the menubar.
So I’d like to set it like:
if window.top <= menubar.height then window.top = menubar.height+1
6 posts - 2 participants