text ->margin: int*,
[{wrap,wrap_fixed_width,clip}]Define how the text
object handles long string. Text
objects may handle long strings in three different ways as described by text<-wrap:
- extend (text
->margin: @nil).
The graphical is as big as needed to display the string
- clip (text
->margin:
width, clip) The graphical has fixed width. If the string is too long it
will be clipped.
- wrap-1 (text
->margin:
width, wrap) The graphical has a text<-margin
defined. If the string is too long to fit within the margin it will be
wrapped on multiple physical lines. Wrapping only happens at word
boundaries.
- wrap-2 (text
->margin:
width, wrap_fixed_width) Similar to wrap-1, but the graphical<-width
of the graphical equals the margin rather than the width occupied by the
displayed characters.
- See also
- text
-wrap