You can change the Play in Editor Window Size in Editor Preferences → Level Editor → Play → Game Viewport Settings
you can click this button to switch between portrait and landscape
then click the 3 dots next to play button and select New Editor Window (PIE)