Thanks, Phil.
Taking another look at it, I was able to get the code to work using working
screenRects.
On Mon, Jan 24, 2022 at 9:20 AM Mike Kerner
wrote:
> Hmm. I tried that before I dove into windowBoundingRect and ran into a
> problem, but now it seems to be working, so maybe.
> Thanks, Phil.
Hmm. I tried that before I dove into windowBoundingRect and ran into a
problem, but now it seems to be working, so maybe.
Thanks, Phil.
On Mon, Jan 24, 2022 at 1:53 AM Phil Davis via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Actually 'the working screenRects' returns that info for al
Actually 'the working screenRects' returns that info for all screens.
Maybe that could work for you.
Phil
On 1/23/22 10:21 PM, Phil Davis via use-livecode wrote:
Hi Mike,
Would this give you what you need?
function menubarHeight
return item 2 of the working screenRect
end menubarHeight
Hi Mike,
Would this give you what you need?
function menubarHeight
return item 2 of the working screenRect
end menubarHeight
Phil Davis
On 1/23/22 7:39 PM, Mike Kerner via use-livecode wrote:
Other than using windowBoundingRect, is there any way to compute the
menubar height? The 2021 M
Other than using windowBoundingRect, is there any way to compute the
menubar height? The 2021 MBP's have changed the height of the menubar to
accommodate the notch.
Generally it's 42 pixels on the new MBP, except when it's something else,
especially on secondary monitors (e.g. I've seen it at 50 px