Livecode Wiki
Explore
Main Page
All Pages
Community
Interactive Maps
Recent Blog Posts
Wiki Content
Recently Changed Pages
Replace
MobileSensorReading
Uploading files on livecode web server
Round
Field
Tab panel
Metadata
Community
Recent blog posts
Forum
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Livecode Wiki
2,318
pages
Explore
Main Page
All Pages
Community
Interactive Maps
Recent Blog Posts
Wiki Content
Recently Changed Pages
Replace
MobileSensorReading
Uploading files on livecode web server
Round
Field
Tab panel
Metadata
Community
Recent blog posts
Forum
Editing
TextSize
Back to page
Edit
Edit source
View history
Talk (0)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Specifies the [[point]] size of text displayed by an object. Syntax: set the textSize of [<nowiki><chunk></nowiki> of] <nowiki><field></nowiki> to <nowiki><pointSize></nowiki> Examples: set the textSize of card "Intro" to 24 set the textSize of word 1 of field ID 3 to 9 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. The [[textHeight]] of an object is like the line spacing, it is the amout of space between the lines, not the height of the actual text. See also: [[textAlign]] (property), [[textHeight]] (property), [[owner]] (property), [[HTMLText]] (property), [[fixedLineHeight]] (property), [[printTextSize]] (property), [[Category: ui]] [[Category:GUI]] [[Category:Text]]
Summary:
Please note that all contributions to the Livecode Wiki are considered to be released under the CC-BY-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab