ASStackLayoutJustifyContent Constants Reference

Declared in ASStackLayoutSpec.h

ASStackLayoutJustifyContent

If no children are flexible, how should this spec justify its children in the available space?

Definition

typedef NS_ENUM(NSUInteger, ASStackLayoutJustifyContent ) {
   ASStackLayoutJustifyContentStart,
   ASStackLayoutJustifyContentCenter,
   ASStackLayoutJustifyContentEnd,
};

Constants

ASStackLayoutJustifyContentStart

On overflow, children overflow out of this spec’s bounds on the right/bottom side. On underflow, children are left/top-aligned within this spec’s bounds.

Declared In ASStackLayoutSpec.h.

ASStackLayoutJustifyContentCenter

On overflow, children are centered and overflow on both sides. On underflow, children are centered within this spec’s bounds in the stacking direction.

Declared In ASStackLayoutSpec.h.

ASStackLayoutJustifyContentEnd

On overflow, children overflow out of this spec’s bounds on the left/top side. On underflow, children are right/bottom-aligned within this spec’s bounds.

Declared In ASStackLayoutSpec.h.

Declared In

ASStackLayoutSpec.h