A word in a label that's wider than the maximum width will be forced onto a line. We can't do better without breaking the word into pieces, and even then the pieces could still be too wide.

Avoid the problem. Don't set ridiculously small maximum widths.