It's time for one of those brainfarts.

I'm trying to position a textField's bottom in line with other
textfields; I've added leading to all the textField's so my math is
now off.

All the single-line textFields are positioned properly, but the
mutli-line textfields are not.

In the one I'm testing out with, the font size is 30, and the leading
is -10. So I did this:

lineCount = (txt._height/(font.size + font.leading))

This never works for my example, ie ht = 70, size = 30, leading = -10
 ie  70/(30+-10) == 1.6


What am I missing?
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to