setEllipsis static method

void setEllipsis(
  1. String val
)

(undocumented) This static function sets the ellipsis character or string for all TextBlocks that have TextBlock#overflow set to TextBlock.Ellipsis.

The default is "...", which works with all fonts.

Note when using the ellipsis character, "…", you will need to specify a compatible character set for your page, like UTF-8.

Modifying the ellipsis character does not cause any TextBlocks to be remeasured or redrawn.

Implementation

static void setEllipsis(_i2.String val) {
  _i4.callMethod(
    _declaredTextBlock,
    'setEllipsis',
    [val],
  );
}