Skip to main content

Interface: ContentSizeFitterDefaultedOptions

Defined in: ui/components/content-size-fitter-component.ts:15

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

Properties​

horizontalFit​

horizontalFit: UiContentSizeFitMode

Defined in: ui/components/content-size-fitter-component.ts:17

How the x axis is fit. unconstrained (the default) leaves it alone.


verticalFit​

verticalFit: UiContentSizeFitMode

Defined in: ui/components/content-size-fitter-component.ts:20

How the y axis is fit. unconstrained (the default) leaves it alone.