textSize | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image | ||||||
Summary | |||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: point, effective Glossary: object, property, keyword, appearance, chunk Property: textAlign, textHeight, owner, HTMLText, fixedLineHeight, printTextSize | ||||||
Description | Use the textSize property to change the appearance of text. Setting the textSize of an object to empty allows the textSize of the object's owner to show through. Use the effective keyword to find out what size is used for the object, even if its own textSize is empty. The textSize of an object defines the height of the text and is specified in points. The engine ensures that this is equivalent to pixels, for example, if you set the textSize of a field to 8 points, then the engine outputs text that is 8 pixels high on all platforms. The height of the text is measured from the bottom of the lowest reaching character to the top of the highest reaching character.
| ||||||
Tags | ui |