UITextSizeConstraint

Show Deprecated

A UITextSizeConstraint ensures that the size of text rendered by certain GuiObject classes (TextLabel, TextButton, or TextBox) lies within the range described by MaxTextSize and MinTextSize. It is meant to be used alongside TextLabel.TextScaled, which automatically scales text to fill its containing object. Like other UI constraints, it is applied when parented to the object to be constrained.

It's recommended that no values lower than 9 be used for MinTextSize property, otherwise text may not be readable to most users.

Summary

Properties

Properties

MaxTextSize

Read Parallel

MinTextSize

Read Parallel

Methods

Events