Added widget resizing