How would I make a text button's text be less big when TextScaled is enabled

I’m new to making UI designs, so don’t judge pls :pray:

How would I make a text button’s text be less big when TextScaled is enabled? I still want it to scale, but I don’t know how to make the TextButton text scale properly on devices if I don’t use TextScaled and use TextSize instead. If anyone could help me out, please do, and thank you!


(image of the TextButton text being too large)

Maybe increase/decrease the LineHeight property value
of the TextLabel to see an affect. Not sure if it’s your solution
though, so just keep trying with different stuff…

Set the to TextTransparency 1, and add a smaller TextLabel inside the button. The smaller TextLabel should be centered since it will be your button’s text, which I do by setting the AnchorPoint to 0.5, 0.5 and the position to {0.5, 0}, {0.5, 0}. Make sure to set the TextLabel’s BackgroundTransparency to 1. This is what I do for my game.

You can achieve the same result by using an UIPadding constraint to add padding inside of your text elements.

6 Likes

Thank you so much! It looks much better now :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.