Display more characters in a live.text object

Ray Williams's icon

Noob alert. I'm just starting out with MFL and trying to modify an existing device. The live.text object "Map" is being used to map parameters in Live. I want to stop the displayed labels from being truncated because it's difficult or impossible to identify parameters with lengthy or similar names.

I can resize the rectangle but there's obviously more to it. And the setting doesn't seem be in the live.text Inspector or the Attributes. Wondering if the truncated name is generated from another object. I opened and inspected every connected object. Three hours later no success. Please help.

Two different parameters look the same

Max Patch
Copy patch and select New From Clipboard in Max.

Ray Williams's icon

Bump. Anyone? Would really appreciate any help here. I’m guessing the solution is something simple I’ve overlooked or it’s not possible to change.

AudioMatt's icon

Have you seen the "hint" object? I'm a little confused. What do you actually want? you say "I can resize the rectangle but there's obviously more to it." I'm not exactly sure what this means. I mean if you put more text in there than there's room for, you've got two options: truncate or make the text fall outside the box. Another option might be to identify strings with similar beginnings and erase the vowels to fit more characters toward the end of the string?

Or... why not just make it bigger?

tyler mazaika's icon

If that’s the basic old MapButton bpatcher used by a bunch of the stock devices then I recall it included a stringFormat.js file in its code which truncates the assigned parameter name.

Ray Williams's icon

Thanks for your help! Much appreciated.

@Audiomatt
I should have been clearer. Enlarging the box does not stop the text from truncating.

@Tyler
Spot on. I located "stringFormat.js" and changed the value in line 5 from 12 to 30. That appears to have fixed it! All good so far. Hopefully I'm not overlooking anything else.