HorizontalLayout
public enum HorizontalLayout : Equatable
Horizontal sizing behavior for the presented view controller.
-
Sets the width of the view controller’s view according to the view controller’s
preferredContentSize, property, if non-zero, or by callingsystemLayoutSizeFitting(_:withHorizontalFittingPriority:verticalFittingPriority:)on the presented view controller’s view to determine the appropriate size.Declaration
Swift
case automatic(alignment: HorizontalAlignment) -
Fills the available space based on
edgeInsetsandignoredEdgesForMargins.Declaration
Swift
case fill
View on GitHub
Install in Dash
HorizontalLayout Enumeration Reference