PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

MinTextSize

UITextSizeConstraint

int

This property indicated the smallest size in pixels the font is allowed to be. This value defaults to 1 pixel and must be set less than or equal to UITextSizeConstraint/MaxTextSize.

Max and min constraints demo

If the affected GuiObject has its TextLabel/TextScaled|TextScaled property set to true the text size constrained by this property will scale dynamically with the container’s size. It will scale downwards with the GuiObject’s size until the min size is reached, at which point it will stay constant if the UI element continues to shrink.