When resizing an object with the select tool, the keyboard key you should press to make it resize equally in all direction:
The Shift Key
Explanation:
In photoshop software, you should hold the shift key to resize the object or image so that it can be resized equally in all direction otherwise it will not resize equally.
In a famous presentation making software, this same method is used to resize the objects and images equally.