UIContentSizeFitter
Classes
- UIContentSizeFitter : Component
Note
UIFrame component is automatically added to the node if it is not already present
A component that automatically resizes the UI frame to fit its children’s bounding box.
- Fields:
horizontalFit : bool = true - If true, the frame width will be adjusted to fit children horizontally.
verticalFit : bool = true - If true, the frame height will be adjusted to fit children vertically.