Truncate long parameter names

This code should be moved to another method, probably in a subclass of
Label.