language grid resizing