Multiline Captions: Extension to add line breaks to widget captions/labels

I’ve created a mini extension that some might find useful. It allows you to add line breaks to text label widgets. The extension files can be downloaded from GitHub - there’s a link to the Releases page in the readme.

After installing the extension, the steps are:

  • Add a label widget and use semicolons at the point you want to add a line break.
  • Add a widget handle (Advanced tab) called “MULTILINE”. If you are changing multiple widgets at the same time, the handles must be unique, so just add numbers to the end.
  • Use the menu option for the extension to convert the semicolons to line breaks.

gp-multiline-captions

8 Likes

Very slick! Thanks for this.

1 Like

@rank13
Do you manipulate the XML structure of the text entry with your extension?

No, it’s a basic get/set of the caption. Via the sdk, a “set” command will allow use of a line break character (\n).

1 Like

Understand, so the issue in Gig Performer is only the editor which does not allow line breaks.
Maybe that would be a good change for Gig Performer?

2 Likes

Thank you for this! Very useful, I like to occasionally have tiny “cheat boxes” in my panels giving occasional reminders on trickier chord progressions or structures, this helps the readability of those boxes a lot!

1 Like

I finally got to properly try this now.
One small drawback seems to be that since the Customize Caption -field is one line only, and on macOS I only get to see and edit one line of text after the conversion to multiline has been made. But this is only a small thing, I can always just erase the text, write it again with semicolons and convert it again.

But maybe this multiline support could be an official feature in the future.