Change virtual desktops orientation to vertical?

I've installed newest Ubuntu and virtual desktops are laid out horizontally. How can I change them to vertical layout?


Solution 1:

Workspaces in Ubuntu 21.10 can be reverted to the vertical layout of previous versions by installing a dedicated Gnome Shell extension, Vertical overview by Ralthuis.