Tahoe button sizes and styles

Mac OSX specific forum
mrbungle
Enthusiast
Enthusiast
Posts: 162
Joined: Wed Dec 30, 2020 3:18 am

Tahoe button sizes and styles

Post by mrbungle »

macOS Tahoe no longer honors button bevel styles when compiling against the latest SDK. They will still render on Big Sur through Sonoma but not on macOS 26. Instead, Apple standardized on the following:

Code: Select all

;default button - 30px tall
CocoaMessage(0, GadgetID(0), "setControlSize:", 0)
; small button - 24 pix tall
CocoaMessage(0, GadgetID(0), "setControlSize:", 1)
; mini-buttons - 18 pix tall
CocoaMessage(0, GadgetID(0), "setControlSize:", 2)