Skip to main content

Interface: LayoutElementDefaultedOptions

Defined in: ui/components/layout-element-component.ts:8

Fields of LayoutElementEcsComponent with a sensible default; callers may omit these.

Extended by​

Properties​

ignoreLayout​

ignoreLayout: boolean

Defined in: ui/components/layout-element-component.ts:18

Excludes this entity from its parent's layout group entirely - the group neither measures it (its size doesn't count toward the group's own preferred/min size) nor arranges it (its RectTransformEcsComponent is left untouched). Useful for a decorative child (a background flourish, a badge overlay) placed inside a panel a HorizontalLayoutGroupEcsComponent/ VerticalLayoutGroupEcsComponent/GridLayoutGroupEcsComponent also arranges. Defaults to false.