GridColumnWidth

public enum GridColumnWidth

Defines how Grid Column width should be calculated

  • Undocumented

    See more

    Declaration

    Swift

    public enum ConstrainedWidth
  • Defines a fixed with for column

    Declaration

    Swift

    case fixed(CGFloat, min: (() -> ConstrainedWidth)? = nil, max: (() -> ConstrainedWidth)? = nil)
  • Defines a fixed with for column

    Note

    Percentage is calculated based on total available width for GridView, typically, width of containing EditorView

    Declaration

    Swift

    case fractional(CGFloat, min: (() -> ConstrainedWidth)? = nil, max: (() -> ConstrainedWidth)? = nil)
  • Defines width based on available viewport.

    Declaration

    Swift

    case viewport(padding: CGFloat)

    Parameters

    padding

    Padding for adjusting width with respect to viewport. Positive values decreases column width from viewport width and negative increases column width by padding over viewport width,