Skip to main content

fixedLineHeight

Type

property

Summary

Specifies whether the lines in a field are all the same height, or vary in height to fit the text on that line.

Syntax

set the fixedLineHeight of <field> to {true | false}

Description

Use the fixedLineHeight property to control the appearance of fields with multiple fonts, sizes, or styles.

If a field's fixedLineHeight property is set to true, the height allotted for each line in the field is equal to the field's textHeight. This means that if some of the text in the field is taller than the field's textHeight, it may be truncated.

If the fixedLineHeight is false, the height of each line depends on the size of the text in that line.

Examples

set the fixedLineHeight of the selectedField to false

property: showLines, formattedHeight, textSize, height, linkText, hGrid, textShift, textHeight

glossary: property, font

keyword: field

object: field

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?