Select the object you want to edit the size and choose "Dimensions".

In 2D view, you can edit its length and width using the arrows.

In aerial 3D view, in addition to its length and width you can also change the height of the object.