Setting location and size.