How can I increase the visible width of the text field and control the maximum number of characters in a matrix?