Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Fit UI size to size of the text?

Asked by 6 years ago

Hello, I'm trying to make a UI be exactly the size of the text. I know about TextService's GetTextSize and the TextBounds property, and I can accomplish my goal using these two.

However, these two only allow me to size the ui using offset, not scale. I would like to use scale to size the ui based on the size of the text. If anyone has any suggestions as to how to make a UI scale to the size of the text that's in it, any advice will be appreciated. Thanks

0
Never mind, I figured out my own way to do it. dunkmaster452 1 — 6y

Answer this question