firstIndent

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the firstIndent [of <line>] of <field> to <pixels>
Associationsfield
Summary

Determines the indentation of the first line of a paragraph in a field.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
pixels

The number of pixels to indent the first line of a paragraph of text. The the pixels is set to a negative number, the first line will be outdented by that number of pixels.

Example
set the firstIndent of field 1 to 10
set the firstIndent of line 5 of field 1 to 10
Values
NameTypeDescription
Value

The firstIndent of a line or field returns an the indent size as a number.

RelatedKeyword: field
Property: borderWidth, vgrid, textAlign, dontWrap, formattedText, spaceAbove, backgroundColor, listBehavior, listIndent, hidden, textSize, listStyle, tabstops, spaceBelow, rightIndent, listDepth, hgrid, hScrollbar, borderColor, formattedWidth
Description

Use the firstIndent property to created indented paragraphs.

By default, the firstIndent property of newly created fields is set to zero.

Tagsui