Align baselines of 2 fields

dunbarxx dunbarx at
Wed Jun 20 19:19:39 EDT 2018

So I played around just a little. 

Make a new field and set its Textheight property. For the first line, this
will be a certain number of pixels below the top of the field. Each
subsequent line will be a multiple of that value. So if you know the
baseLine of any line of text, and you know the top, you can either position
the field so that the baseLine attains a certain Y value, or you can adjust
the baseline to any Y value.

Do the same for the other field, and you can align the text.


Sent from:

More information about the Use-livecode mailing list