Set maximum width on legend labels