Use length limit for dynamic ribbon labels in the GP editor

Someone made the shortening of labels in DynamicRibbonWidget optional by using setMaxLabelLength(). This commit makes use of that feature in the GP editor's screens.