ConstraintAttribute

class ConstraintAttribute

The widget attributes that can be used when creating a Constraint.

Fields

class ConstraintAttribute
BASELINE

The baseline of a widget

BOTTOM

The bottom edge of a widget

CENTER_X

The center of a widget, on the horizontal axis

CENTER_Y

The center of a widget, on the vertical axis

END

The trailing edge of a widget, depending on text direction; equivalent to RIGHT for LTR languages, and LEFT for RTL ones

HEIGHT

The height of a widget

LEFT

The left edge of a widget, regardless of text direction

NONE

No attribute, used for constant relations

RIGHT

The right edge of a widget, regardless of text direction

START

The leading edge of a widget, depending on text direction; equivalent to LEFT for LTR languages, and RIGHT for RTL ones

TOP

The top edge of a widget

WIDTH

The width of a widget