Actually, the formattedWidth returns the amount of space occupied by the field's text, regardless of the margins, if you refer to a textChunk, like "line 1 of field 1". The margins value affects the result if you refer to the field itself.
Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/22/15, 8:04 PM, "Paul Hibbert" <p...@livecode.org> wrote: >if you use measureText it only measures the text according to the >parameters that you supply, it doesn't take into account any properties >other than font and font size AFAIK, whereas formattedWidth measures the >text in the field along with the margins effectively giving the field >width. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode