Click the "gear" icon in the top right corner and find "Layout" in the dropdown menu. You can select "Vertical", "Horizontal" or "List" view.
Tip: You can find other options for customizing your inbox below Layout in the dropdown menu.