Refs #21. Using a gridlayout for the elements.