Adjust text box width and character limit in matrix