Set max width for weight text box.