Skip to main content

gridChildHorizontalAlign

Applicable only on direct children of grid auto-layout frames. Controls the horizontal alignment of the node within its grid cell.

Signature

gridChildHorizontalAlign: 'MIN' | 'CENTER' | 'MAX' | 'AUTO'

Remarks

Possible values are:

  • "MIN": Aligns to the left of the grid cell
  • "CENTER": Centers horizontally within the grid cell
  • "MAX": Aligns to the right of the grid cell
  • "AUTO": Uses the default alignment