Vertically aligning text in a field
BNig
bernd.niggemann at uni-wh.de
Sat Dec 20 05:08:03 EST 2014
Hi Jaque,
I needed to know where the hGrid line of line 1 shows.
I did not get there by adding:
top of field, topMargin, borderSize and effective textHeight.
So I don't know what I missed but that calculation gives me a 7 pixel offset
i.e. the position is 7 pixel below the hGrid of line 1. I don't know what
these 7 pixel are.
Then I went into experimentation mode and found that empiric formula.
Maybe someone has an idea how to calculate the hGrid position of line 1 of
an EMPTY field in a straight forward way.
Kind regards
Bernd
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Vertically-aligning-text-in-a-field-tp4686824p4686975.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list