GridLayout$Typings extension

on

Properties

alignment EnumValue

Available on GridLayout, provided by the GridLayout$Typings extension

Gets or sets whether the Part#location or the position should be used to arrange each part.
getter/setter pair
arrangement EnumValue

Available on GridLayout, provided by the GridLayout$Typings extension

Gets or sets how to arrange the parts. Must be GridLayout.LeftToRight or GridLayout.RightToLeft.
getter/setter pair
cellSize Size

Available on GridLayout, provided by the GridLayout$Typings extension

Gets or sets the minimum part size by which each part is positioned in the grid.
getter/setter pair
comparer num Function(Part, Part)

Available on GridLayout, provided by the GridLayout$Typings extension

Gets or sets the comparison function used to sort the parts.
getter/setter pair
sorting EnumValue

Available on GridLayout, provided by the GridLayout$Typings extension

Gets or sets what order to place the parts. Must be GridLayout.Forward, GridLayout.Reverse, GridLayout.Ascending, or GridLayout.Descending.
getter/setter pair
spacing Size

Available on GridLayout, provided by the GridLayout$Typings extension

Gets or sets the minimum horizontal and vertical space between parts.
getter/setter pair
wrappingColumn num

Available on GridLayout, provided by the GridLayout$Typings extension

Gets or sets the maximum number of columns.
getter/setter pair
wrappingWidth num

Available on GridLayout, provided by the GridLayout$Typings extension

Gets or sets the wrapping width.
getter/setter pair

Methods

doLayout(Object coll) → void

Available on GridLayout, provided by the GridLayout$Typings extension

Assign the positions of the parts, ignoring any links. @param {Diagram|Group|Iterable.