ASStackLayoutAlignSelf Constants Reference
Declared in | ASStackLayoutDefines.h |
---|---|
References | ASStackLayoutAlignItems |
ASStackLayoutAlignSelf
Each child may override their parent stack’s cross axis alignment.
Definition
typedef NS_ENUM(NSUInteger, ASStackLayoutAlignSelf ) {
ASStackLayoutAlignSelfAuto,
ASStackLayoutAlignSelfStart,
ASStackLayoutAlignSelfEnd,
ASStackLayoutAlignSelfCenter,
ASStackLayoutAlignSelfStretch,
};
Constants
ASStackLayoutAlignSelfAuto
-
Inherit alignment value from containing stack.
Declared In
ASStackLayoutDefines.h
. ASStackLayoutAlignSelfStart
-
Align to start of cross axis
Declared In
ASStackLayoutDefines.h
. ASStackLayoutAlignSelfEnd
-
Align with end of cross axis
Declared In
ASStackLayoutDefines.h
. ASStackLayoutAlignSelfCenter
-
Center on cross axis
Declared In
ASStackLayoutDefines.h
. ASStackLayoutAlignSelfStretch
-
Expand to fill cross axis
Declared In
ASStackLayoutDefines.h
.
See Also
Declared In
ASStackLayoutDefines.h