Text Widget Overview

Text widget is used to display information.

Features

The Text widget has:

  • A minimal background

    The Text widget has a basic newRect for a background. While this can be used in an app, its original intention was to serve as reference during testing to make sure all of the margins, etc were being rendered correctly.

  • Automatic Sizing

    Can be set to a width or no width to expand to fit.

  • Margins

    Can be set to a width or no width to expand to fit.

  • Automatic Ellipses

    Three dots when the text is too long to fit

  • Lots of Properties

    Some of the properties to change: margin, font, size!

Examples

There are several examples on how to use the Text Widget. These are included in the github repo.

Text Widget Documentation

Getting Started - Text Widget

A quick introduction to the Text widget.