Neatly format long labels

579
0
09-12-2021 08:09 PM
Status: Open
Labels (2)
darrenyu
New Contributor II

Hi,

Can the Label field support line breaks or by default Word Wrap the labels?

Currently long labels are being split partially based on the available UI width.

 

For example, for the text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit."

It is splitting the word "adipiscing" part way from adi. 

darrenyu_0-1631501274064.png

I think by default implementing Word-Wrap will be good.

 

Though having the option to enter Multi-line labels will be great for controlling the line break. For example:

darrenyu_1-1631501555765.png

This might be achievable by editing the JSON text? Tried adding \r\n into the label but did not work.

darrenyu_2-1631502221771.png

This feature is a nice to have as it will improve what the end user sees.