dontWrap | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | field | ||||||
Summary | Specifies whether the text in a paragraph or field word-wraps when it reaches the field's right edge. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: field Property: hScrollbar, listDepth, borderColor, tabstops, listBehavior, formattedWidth, textAlign, spaceBelow, rightIndent, firstIndent, formattedText, borderWidth, hgrid, spaceAbove, vgrid, hidden, backgroundColor, listStyle Object: field Glossary: property | ||||||
Description | Use the dontWrap property to control whether lines of text in a field wrap or not. By default, the dontWrap property of newly created fields is set to false. If a field's dontWrap property is false, the text in the field wraps to the next line automatically when it reaches the right edge of the field, so all the text is visible in the field's width. If the dontWrap is true, lines that are too long to fit in the width of the field disappear off the right edge of the field. (The excess text is still in the field--it just can't be seen.) To edit long lines in a field whose dontWrap is true, set the field's hScrollbar to true to display a horizontal scrollbar.
| ||||||
Tags | ui |