I have an odd issue I can’t figure out, I have a button in a GUI and I have set the size to {0.04, 0},{0.04, 0} but on the screen, the box is a rectangle and not square?
Regards
I have an odd issue I can’t figure out, I have a button in a GUI and I have set the size to {0.04, 0},{0.04, 0} but on the screen, the box is a rectangle and not square?
Regards
You’re using the ‘Scale’ component of the button’s size, meaning it’s height and width will be 4% of the height and width of the parent GUI.
This is because Scale means amount of % on the screen. 0.04 means 4% and since the height and width of the screen isn’t the same this won’t make it a square.
You should use UIAspectRatio: