Not sure what you mean as some users might have bigger and others smaller resolution screens which would show the TextBox bigger on one and smaller on another. For that you would use the pixels rather than the scale property in the Gui’s size.
I’m not talking about the gui size. I’m talking about the TextSize.
Yes I know, but what I’m trying to achieve is having the TextBox TextSize staying the same on every screen (resolution), so it’s not bigger or smaller.
Yeah that works, but only when using pixels. If I use scale + UIAspectRatioConstraint to make the gui size be the same it stops working. TextBox.rbxl (21.0 KB)
Sorry I’m not sure I know a solution to your issue. All I can tell you is to set the TextBox’s size using the Offset rather than the Scale so it all looks same size on every device.
Offset makes UI the same physical size on all devices, if that’s what you’re asking, provided they have the same density of pixels.
Scale is about keeping objects covering the same percentage of your screen, whether it’s big or small, portrait or landscape.
On the UIConstraints, if they will help depends on your question. Do you want the text to take up the same percentage of space inside the TextBox on all screens?