Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[SOLVED]Can you resize textbuttons? [closed]

Asked by
Exsius 162
10 years ago

I have tried making a GUI myself but the Gui textbutton doesn't resize with my img gui when i resize the Roblox client window!

Thanks,

Exsius,

Locked by TheMyrco

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
Azarth 3141 Moderation Voter Community Moderator
10 years ago

Use scale to allow dynamic change between screen sizes - will stay the same size for different screen sizes. TextButton.Size = UDim2.new(.01,0,.01,0)

Use Offset for scaling via pixels - won't stay the same for different screen sizes. TextButton.Size = UDim2.new(0,100,0,100)

http://wiki.roblox.com/index.php/UDim

0
Okay thanks! Exsius 162 — 10y
Ad