Adapted Gui layout.