Skip to main content

Type Alias: ResolvedGridLayoutGroupConstraintFields

ResolvedGridLayoutGroupConstraintFields = { columnWidthMode: "fixed"; constraint: "flexible"; rowHeightMode: "fixed"; } | { columnWidthMode: UiGridSizingMode; constraint: "fixedColumnCount" | "fixedRowCount"; rowHeightMode: UiGridSizingMode; }

Defined in: ui/components/layout-group-component.ts:258

The fully-resolved (every field defaulted) equivalent of UiGridLayoutGroupConstraintFields. Kept as its own named union (rather than derived from it with Pick) since Pick over a union collapses each field into a single flattened union instead of preserving which columnWidthMode/rowHeightMode values actually pair with which constraint.