Removed text control's width and added maxchars