anything created with a Small Fonts system looks ugly on a Large Fonts
system, and I'm tired of double-coding my gadgets to support both.

Or, does anyone know of a simple calculation so I could use vars to create
my gadget sizes? I know how to determine whether the system is using
Small or Large fonts, by using this small procedure which returns 1 (#True)
if Small fonts are in use, and anything else if not:
Code: Select all
Procedure SmallFonts()
a=GetDesktopWindow_() : b=GetDC_(a) : c=GetDeviceCaps_(b,#LOGPIXELSX)
ReleaseDC_(a,b) : ProcedureReturn 97-c ; Returns 1 (c=96) for small.
EndProcedure