Is there a way to make a gui, in this case, a teleport menu GUI found here: http://www.roblox.com/Lobby-place?id=148631504 ...resize itself to the window size? i.e. Everything will show up if your window size is not at least a maximized window?
✓ ANSWER ACCEPTED
Auto-Resize/GUI that is proportionate to Window Size?
1 answer
✓ Accepted answer
If you want a GUI to occupy the entire screen you can set its size to UDim2.new(1, 0, 1, 0). The syntax for UDim2 goes as follows-
UDim2.new( xScale, xOffset, yScale, yOffset )
So if you wanted a GUI to take half the screen
UDim2.new(.5, 0, .5, 0)
Or if you wanted to shave off 10px off each side of the GUI
UDim2.new(.5, -10, .5, -10)
This discussion is preserved as it was. New answers, comments, and votes are closed.
