Top of slider getting clipped regardless of size

On Monterey 12.4.

I found a few posts about this from a year ago, along with a case that was submitted and was flagged as fixed and verified, but I’m still running into it with all my slider controls.

Any workarounds for this issue?

You can do it yourself with Declares. Add this to the DesktopSlider.Opening Event:

Declare Sub sizeToFit Lib "AppKit" Selector "sizeToFit" (obj As Ptr)
sizeToFit(Me.Handle)

There’s an Issue for it.

3 Likes

Case #65375

Have you tested the code there? (posted by Martin)

Edit: looks like part of 65375 is a duplicate of 65287, see post above.

1 Like

Thanks guys, this code indeed fixes it. Cheers!

2 Likes