Size keeps changing

Yes that works, I turned off TextScaled, however this happens


CustomScalingAndPositioning2.rbxl (61.4 KB)

Sorry, disable TextWrapped as well. It automatically sets itself to true when setting TextScaled to true. Only use it when you have a (maximum) set size on the X axis.

1 Like

Thank you so much, it works perfectly, im not entirely sure how the position is calculated but if I add a frame inside the frame which has a image would it be calculated fine?

Yeah, you build as normal. The scripts I’ve given are automatically done for you.

All the UIScale code does is set the ScreenGui’s size in relation with the player’s screen size and the Frame code to position it to your mouse, accounting for the factors above.

1 Like

Thanks for the explanation, I realized it gets a bit blurry on smaller devices (the smaller the screen is), what would be the solution for that? How would you up the scale?

Mobile UI is blurry in general. Consider upping the overall size to find a balance between smaller and bigger screens - this is all part of good UX designing.

1 Like

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