Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do you fix Gui labels different sizes on different screens?

Hello, I am making a Gui, I have a plugin in which it makes the frame compatible for all screens but when I make for example the text label size 29, and switch devices the text may be too small or too big how do you fix that problem??

1 comment

0

aspect ratios... set the size of the gui to UDim2.new(value,0,value,0) instead of UDim2.new(0,value,0,value)

1 answer

That's because of what you have as the Offset in your Size property. Always set the Offset to 0, and adjust your scaling to make your GUI the size that you want it to be.

Example:

GUI.Size = UDim2.new(0.1, 0, 0.1, 0) -- the second and fourth numbers are the x and y offsets

This discussion is preserved as it was. New answers, comments, and votes are closed.