Skip to main content

Layout Child

The LayoutChild component enables an element that is controlled by a LayoutGroup component to override the default behavior of the Layout Group.

See the Layout Groups section for more details.

LayoutChild component

Properties

PropertyDescription
Min WidthSet the minimum width that the element can be rendered at.
Min HeightSet the minimum height that the element can be rendered at.
Max WidthSet the maximum width that the element can be rendered at.
Max HeightSet the maximum height that the element can be rendered at.
Fit Width ProportionThe proportion of additional space that the element will take up if the layout group is set to stretch or shrink.
Fit Height ProportionThe proportion of additional space that the element will take up if the layout group is set to stretch or shrink.
Exclude from LayoutCompletely ignore this element when calculating the layout.

Scripting Interface

You can control an LayoutChild component's properties using a script component. The LayoutChild component's scripting interface is here.