Set max width for buttons.