Community Tip - You can change your system assigned username to something more personal in your community settings. X
Need to resize the text box dynamically.
Try using data utility,//based on the logic, set the widthtextBox.setWidth(40);
refer for https://www.ptc.com/en/support/article/CS258376