Laying out text

Dr. Hawkins dochawk at gmail.com
Sun Feb 22 21:32:39 CET 2015


On Sun, Feb 22, 2015 at 12:32 AM, Terence Heaford <t.heaford at icloud.com>
wrote:

> Is it possible in LC to work out the size (width) of the field required to
> hold the text without firstly creating the field or is it necessary to
> place all the fields on the screen, work out the formattedWidth and then
> layout the fields accordingly?


You need fields on an open card for the formattedWidth family to work.

Conceivably, you could write your own kerning code, but locking the screen
to get formattedWidth is easier and will execute faster.


-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462


More information about the use-livecode mailing list