Module immi::widgets::label [] [src]

A label is a single line of text.

You usually want to use the flow function.

Functions

contain

Draws text. The text will be sized so that it is entirely contained within the context, and either its width or its height is equal to the width or the height of the context.

cover

Draws text. The text will be sized so that it entirely covers the context, and either its width or its height is equal to the width or the height of the context.

flow

Draws text. The text will always have the same height as the context and will stretch horizontally as needed to have a correct aspect ratio.