Change the widget layout.