Skip to content

TextAlign

TextAlign #

Bases: Enum

The horizontal alignment of text within an input box.

CENTER = 'center' #

Align the text in the center of the container.

END = 'end' #

Align the text on the trailing edge of the container.

JUSTIFY = 'justify' #

Stretch lines of text that end with a soft line break to fill the width of the container.

LEFT = 'left' #

Align the text on the left edge of the container.

RIGHT = 'right' #

Align the text on the right edge of the container.

START = 'start' #

Align the text on the leading edge of the container.