(Redirected from FixedRectFitterLayout (Component))
Component image 
FixedRectFitterLayout component as seen in the Scene Inspector 

The FixedRectFitterLayout component attempts to fit child elements into the Component:RectTransform of the FixedRectFitterLayout slot.
To use a FixedRectFitterLayout at least one child element will need an OffsetMax value that is not [0.0; 0.0].
| Name | Type | Description | 
|---|---|---|
| persistent | Bool | Determines whether or not this item will be saved to the server. | 
| UpdateOrder | Int | Controls the order in which this component is updated. | 
| Enabled | Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. | 
| HorizontalAlign | LayoutHorizontalAlignment | The alignment of the content horizontally. | 
| VerticalAlign | LayoutVerticalAlignment | The alignment of the content vertically. | 
| Mode | FixedRectFitterLayout.FitMode | How the child elements should attempt to fit into this RectTransform | 
| AllowShrink | Bool | Should the child elements shrink to fit the space if needed. | 
| AllowGrow | Bool | Should the child elements grow to fill the space if needed. | 
Usage
The FixedRectFitterLayout component computes the bounds of child elements using their computed OffsetMax values and attempts to to fit the child elements into the FixedRectFitterLayout's Component:RectTransform according to the mode. 
