Skip to content
Docs
Open Promoeyes

text-block

UI item · inside ui / ui3duisset 2× in templates and rigs

Wrapping text on a UI stage with inline marks (`**bold**`, `_italic_`, code in backticks), cut to `maxLines` lines.

text-block(align=left color=#ffffff h=1)

Attributes

aligntext`left` (default), `center` or `right` within `w`.2×
colorcolour #rrggbbText colour.2×
hnumberBox height; without it, the lines times the line height.2×
maxLinesnumberMost lines it wraps to (default 1); text that runs longer ends in `...`.2×
sizenumberFont size in stage units (default 15).2×
texttextThe words, with their inline marks.2×
wnumberWrap width in stage units (default 320).2×
weightnumberFont weight of the unmarked text (default 400).2×

Where it goes

Written under