UITextSizeConstraint
Constrains automatically scaled text size.
- Creatable
Instance.new("UITextSizeConstraint")- Inherits
- UIConstraintUIComponentUIBaseInstance
- Replication
- Standard
Behavior
UITextSizeConstraint constrains automatically scaled text size.
Summary
Members3
Properties2
The maximum permitted size for scaled text.
The minimum permitted size for scaled text.
Methods1
Returns this instance if it is an ExecutionGroup.
Properties
MaxTextSize
UITextSizeConstraint.MaxTextSize: number = 100The maximum permitted size for scaled text.
MinTextSize
UITextSizeConstraint.MinTextSize: number = 1The minimum permitted size for scaled text.
Methods
GetExecutionGroup
UITextSizeConstraint:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
Inherited47
Instance47
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying