UISizeConstraint
The UISizeConstraint ensures a GuiObject does not become larger or
smaller than the MaxSize and
MinSize. For example, if
MaxSize is set to
Note that if the object with this constraint is also under the control of a UILayout such as UIGridLayout, the constraint determines the object's minimum/maximum size and overwrites any size the layout would apply.
Summary
Properties
The largest size, in pixels, the parent object is allowed to be.
The smallest size, in pixels, the object is allowed to be.
Properties
MaxSize
The largest size, in pixels, the parent object is allowed to be. The X and Y of this value must be greater than or equal to the corresponding components of MinSize.