HorizontalAlignment

class pyto_ui.HorizontalAlignment(*values)

Horizontal alignment.

CENTER = 0

Aligns the content horizontally in the center of the control.

FILL = 3

Aligns the content horizontally to fill the content rectangles; text may wrap and images may be stretched.

LEADING = 4

Aligns the content horizontally from the leading edge of the control.

LEFT = 1

Aligns the content horizontally from the left of the control (the default).

RIGHT = 2

Aligns the content horizontally from the right of the control.

TRAILING = 5

Aligns the content horizontally from the trailing edge of the control.