height property
Height of the button. Null is the native height: 24 points on macOS (a
regular-size pop-up button) and the height of the configured UIButton
on iOS.
On macOS the controlSize follows it: mini below 18 points, small
below 22, regular below 28, large from 28 and extra large from 40
(macOS 26+; large before). A bordered pop-up keeps the bezel height of
its size, centred; a glass capsule fills the height. On iOS the
configuration's buttonSize follows it in the same way (mini below
24 points, small below 30, medium below 40, large from 40), so the
title grows with the button.
Implementation
final double? height;