Add an option to limit the number of text lines in task buttons.
This is desired by a downstream who always wants a single line of text.
This should go into the 5.9 branch to allow them to ship 5.9.