last time.

BlitzPlus Forums/BlitzPlus Programming/last time.

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)
Stop
StringWidth and GadgetWidth both return 24. Please explain the problem in greater detail.