How to scale texts when TextScaled is disabled

Hello developers! I am trying to make it so that the text goes from the top left and so on with a custom size as TextScaled makes it look weird. However, I have trouble making it scale on all devices correctly, whether it gets cut off or look too short. I’m wondering if there’s a way to fix this.

expected size

mobile

on a larger scale

1 Like

Turn on TextScaled and RichText in the properties tag. You can only turn on TextScaled if you wish, but doing so could cause issues (like the last image) on larger screens.

From what I know, there isn’t a built in way to fix this, and I think you will need to make your own system to scale text (or use someone else’s, I’m sure people have made scripts to solve this problem). This is also how I fixed this problem in my game, I made my own script to scale text based on screen size.

If you want to scale it differently than TextScaled does across multiple devices, then the only way to do that is to script it yourself.

As of now, I can’t really help you do that because I don’t know how you want it to look and other stuff

You can maybe try using UIAspectRatioConstraints. I’m not sure if it applies to text, but I have always used it to make sure Guis are a similar size for all devices.

The method I use to to put a “UIScale” instance in every screen gui.

Essentially, you design your UI for a specific resolution, and scale the UI up or down using the UIScales depending on the resolution the player is using.

For example, if your dialogue box was designed for 720p, and somebody is playing on 1440p, you would scale it up by 2 by setting the Scale property of the UIScale to 2.