AutoTruncateTextObject (Function)
From Legacy Roblox Wiki
Jump to navigationJump to search
AutoTruncateTextObject( TextLabel textLabelToAutoTruncate ) | |
Returns | TextLabel autoTruncatingTextLabel, Function changeText |
Description: | Returns 2 objects, (autoTruncatingTextLabel, changeText). The textLabelToAutoTruncate input is modified to automatically truncate text (with ellipsis), if it gets too small to fit. changeText is a function that can be used to change the text, it takes 1 string as an argument. |