Hi ,
Was wondering if anyone could help me with the getTextExtent(). It just doesn’t seem to return the correct width and height of the string parameter.
Documentation states that the function returns 6 properties; width, height, textFieldHeight, textFieldWidth, ascent, descent. textFieldWidth and textFieldHeight are supposed to return the exact height and width in pixels that is required to show the textfield obj. Problem is the text will still appear cropped. Of course the workaround is just to add a space in the string parameter, but this a quick and dirty fix.
Could someone help ? thanks
MX Doc’s on getTextExtent