Change widget and layout structure.