DesktopButton.FontUnit

From Xojo Documentation

Property (As FontUnits )
aDesktopButton.FontUnit = newFontUnitsValue
or
FontUnitsValue = aDesktopButton.FontUnit

New in 2021r3

Supported for all project types and targets.

The units in which FontSize is measured.