SizeConstraint
The parent dimensions used to resolve a GuiObject's relative size.
Access items through Enum.SizeConstraint.
Behavior
The parent dimensions used to resolve a GuiObject's relative size.
Used by Frame.SizeConstraint, ImageButton.SizeConstraint, ImageLabel.SizeConstraint, SceneFrame.SizeConstraint, ScrollingFrame.SizeConstraint, TextBox.SizeConstraint, TextButton.SizeConstraint, TextLabel.SizeConstraint.
Items
Items3Value
Uses parent width for X scale and parent height for Y scale.
Uses parent width for both scale dimensions.
Uses parent height for both scale dimensions.
RelativeXY
Uses parent width for X scale and parent height for Y scale.
RelativeXX
Uses parent width for both scale dimensions.
RelativeYY
Uses parent height for both scale dimensions.