Hide / remove right grey space

Hello

How can I hide / remove the right grey space / window, so map can be displayed in a larger space? It's not possible to move the border.