textShift | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | field | ||||||
Summary | Specifies how far text is shifted up or down from its baseline. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: field, integer Property: fixedLineHeight, pixels, textHeight Object: field Glossary: property, chunk, negative | ||||||
Description | Use the textShift property to subscript and superscript chunks of text in a field. The textShift is the number of pixels to shift the text down from the baseline, creating a subscript. If the textShift is negative, the text is shifted up (superscripted). If the textShift is zero, the text is placed in normal position, not shifted up or down.
| ||||||
Tags | ui |