Added a description. Added field descriptions. added usage description. |
989onan bot (talk | contribs) Automated: update Fields |
||
Line 14: | Line 14: | ||
|HorizontalAlign|LayoutHorizontalAlignment|Aligns the contents in a horizontal way. | |HorizontalAlign|LayoutHorizontalAlignment|Aligns the contents in a horizontal way. | ||
|VerticalAlign|LayoutVerticalAlignment|Aligns the contents in a vertical way. | |VerticalAlign|LayoutVerticalAlignment|Aligns the contents in a vertical way. | ||
|Mode|'''[[#FitMode|FitMode]]'''|TypeAdv2=true|How this fitter should conform in this [[Component:RectTransform|RectTransform]] | |Mode|'''[[#FitMode|FixedRectFitterLayout.FitMode]]'''|TypeAdv2=true|How this fitter should conform in this [[Component:RectTransform|RectTransform]] | ||
|AllowShrink|Bool|Should this [[UIX]] element shrink when this [[Slot|slot]]'s contents shrinks. | |AllowShrink|Bool|Should this [[UIX]] element shrink when this [[Slot|slot]]'s contents shrinks. | ||
|AllowGrow|Bool|Should this [[UIX]] element grow when this [[Slot|slot]]'s contents grows. | |AllowGrow|Bool|Should this [[UIX]] element grow when this [[Slot|slot]]'s contents grows. |
Revision as of 06:02, 17 March 2025
Component image 
FixedRectFitterLayout component as seen in the Scene Inspector

The FixedRectFitterLayout component fits the content in a fixed way, while also giving the user control on how it fits within a UIX element.
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 | Aligns the contents in a horizontal way. |
VerticalAlign
|
LayoutVerticalAlignment | Aligns the contents in a vertical way. |
Mode
|
FixedRectFitterLayout.FitMode | How this fitter should conform in this RectTransform |
AllowShrink
|
Bool | Should this UIX element shrink when this slot's contents shrinks. |
AllowGrow
|
Bool | Should this UIX element grow when this slot's contents grows. |
Usage
Used when a user needs the contents to be more exact and static. For something a bit more dynamic, it is usually recommended to use a ContentSizeFitter component instead.