resize the widgets