iOSLayoutConstraint.AttributeTypes

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Enumeration
iOSLayoutConstraint.AttributeTypes

New in 2014r3

The auto-layout attributes.

Values

Enum Description
None No constraint.
Left The left position of the control.
Right The right position of the control.
Top The top position of the control.
Bottom The bottom position of the control.
Leading The edge that is the start of text in the current locale (English: left, Hebrew: right).
Trailing The edge that is the end of text in the current locale (English: right, Hebrew: left).
Width The width of the control.
Height The height of the control.
CenterX Horizontal center
CenterY Vertical center
Baseline Bottom of text that does not drop down (like g, p, j, etc). For non-text controls it is the same as the bottom edge.
LeftMargin The left value padded with the standard margin size.
RightMargin The right value padded with the standard margin size.
TopMargin The top value padded with the standard margin size.
BottomMargin The bottom value padded with the standard margin size.
LeadingMargin The leading value padded with the standard margin size.
TrailingMargin The trailing value padded with the standard margin size.