textHeight | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | field | ||||||
Summary | Specifies the amount of space between lines of text in a field. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: default, integer, field, effective Property: printTextHeight, pixels, fixedLineHeight, textSize Function: textHeightSum Glossary: property, appearance Object: field | ||||||
Description | Use the textHeight property to change the appearance of text in a field. The textHeight property determines how tall each line of a field is, and is equal to the vertical distance in pixels between the baseline of one line and the baseline of the next. The minimum textHeight is 4 pixels.
If a field's fixedLineHeight property is false, the textHeight of the field has no effect: in this case, the text height of each line is determined by the size of the largest text in the line, and changing the textHeight doesn't change the spacing of lines. | ||||||
Tags | ui |