TextAlignment

class pyto_ui.TextAlignment(*values)

Configure the text alignment of a view.

CENTER = 1

Text is visually center aligned.

JUSTIFIED = 3

Text is justified.

LEFT = 0

Text is visually left aligned.

NATURAL = 4

Use the default alignment associated with the current localization of the app. The default alignment for left-to-right scripts is left, and the default alignment for right-to-left scripts is right.

RIGHT = 2

Text is visually right aligned.