You can drag one of the borders to expand or contract the window on one side. Drag a corner to change two sides at once. The resize pointer appears when the mouse is at the correct position to begin the drag action.
The resize pointer is displayed.
The pointer changes to indicate the chosen edge. Now you can use the mouse or the arrow keys to move this edge of the window.