Hi Levi,

Try something like:

on SetLinesSpacing pFieldName,pHeight
  -- pFieldName parameter is the short name of the field
  -- pHeight parameter is an integer

  set the textHeight of fld pFieldName to pHeight
  -- in fact this line is not compulsory
  set the textSize of fld pFieldName to round(pHeight/4*3)
  set the fixedLineHeight of fld pFieldName to true
end SetLinesSpacing

Best regards from Paris,

Eric Chatonet.

Le 19 mai 05 à 16:13, Levi Kendall a écrit :

   I'm trying to find a way to setup user configured line spacing for
a text field.  There would just be 3 spacing options, single spaced,
double spacing, and 1.5 spacing options.  The closest thing I've found
that relates to this is the "Fixed line height" property although this
would have some limitations.  If there is text of varying sizes in the
field this could cause overlap with larger fonts not fitting within
the fixed height.  The spacing could be adjusted to allow for the
largest font in the field but this could cause large spaces between
lines which were using smaller sized fonts. Any suggestions / thoughts
/ ideas?

---------------------------------------------------------------- So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [EMAIL PROTECTED]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to