listIndent

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the listIndent of <line> of <field> to 1
Associationsfield
Summary

Specifies the size of the margins used when indenting lists.

Introduced5.5
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the listIndent of line 1 to -1 of field 1 to 20
set the listIndent of line 1 of field 1 to 10
-- Set the listIndent of all the lines in a field that are lists  to 10
repeat with x = 0 to the number of lines of field 1
   if the listStyle of line x of field 1 is not empty then
      set the listDepth of line x of field 1 to 10
   end if
end repeat
Values
NameTypeDescription
Value

The listDepth of a line or field returns the size of the margins being used to indent the list line(s).

RelatedProperty: borderWidth, vgrid, textAlign, dontWrap, formattedText, spaceAbove, backgroundColor, listBehavior, hidden, textSize, firstIndent, tabstops, spaceBelow, listStyle, rightIndent, listDepth, hgrid, hScrollbar, borderColor, formattedWidth
Description

Use the listIndent property to control the size of the margins used by LiveCode when indenting lists.

Tagsui