edit to width of text