AdjustableLayoutElement

public protocol AdjustableLayoutElement : LayoutElement

Protocol for elements that can calculate yourself content size

AdjustableLayoutElement

Available where Self: AdaptiveLayoutElement

  • contentConstraint Default implementation

    Default Implementation

    Constraint, that defines content size of element

    Declaration

    Swift

    public var contentConstraint: RectBasedConstraint { get }