How do you reckon that? In this code:
SetBuffer (DesktopBuffer()) win=CreateWindow("blah",0,0,300,300,0,33) txt$ = "123" mylab=CreateLabel ( txt$, 0,0, StringWidth(txt$), FontHeight(), win ) DebugLog StringWidth(txt$) DebugLog GadgetWidth (mylab) StopStringWidth and GadgetWidth both return 24. Please explain the problem in greater detail.