Recently there has been a lot of trouble with UI Scaling and I have seen many posts on it. Well I am here to teach you about the components of the UI Scaling and the current plugin I use to scale all my UI’s perfectly for every device.
When scalingONLY Use the scale options Click the top one first, then the bottom. This should not only scale for all devices but it shall scale text too.
Step 3. If this does not scale text then here is another way.
When on a button or text label Click the Text Scale button Once you do that it adds a text constraint which should scale it correctly. You’re able to move the text and scale it as well.
If it doesn’t work let me know. I hope this was useful to all of you out here having problems with UI/Text scaling.
If you need me to scale in your game for you, I might be able to but might not as well. So let me know and Ill see what i can do.
Warning make sure you read the whole thing before continuing.
Thanks for the tutorial. I am already familiar with how it’s done but at least I won’t have to see posts every day like: why isnt my ui showing properly ui scaling issue help with ui sizing
Why would you not recommend a constraint? They are great for maintaining the same shape, such as keeping a square a square, and not making it a rectangle when it scaled.
Plugins are here to use it, I am using even Plus and Nightly version of this plugin and it is time saver so like somebody said before I don’t see reason why not use it.
If somebody came across this - everytime parent UI objects to transparent Frame and then you can add constraint to it or to the childrens of the transparent frame the formula for calculating UIAspectRatioConstraint is AbsoluteSize.X/AbsoluteSize.Y
Basically what I am trying to say is… In some cases you can use a UIAspectRatioConstraint. But some of the times it isn’t necessary. But in some harsh cases, yes you may need to add a constraint. Like on a scrolling frame.
I do have experience with scaling the UI’s manually, however it doesn’t make any sense because a plugin basically does the same thing for you. Scaling on UI’s You can set the (Scale) or the (Position) in properties. Which is the same thing as what the plugin does. I can help you can scale it right if you want however just know it’s the same thing.
I am well aware of the fact that scaling manually will result in the same way compared to using a plugin. I was just curious if you had expertise in UI instead of just using a plugin without trying to increase your skill (without entirely depending on plugins to get the job done).
Constraints keep a GUI scaled however. When you try to scale it’s width or height you will most likely have a problem, so really adding a constraint should be a final Scale of your game.
I personally highly recommend using the Constraint feature, Just make sure to use it in the proper manner and try not to stick it in every single UI Instance as at that point it just isn’t needed.
Dont mind the pages UI, I had just added that and hadn’t got to scaling it yet.