How to set max width of label target?

Hi everyone,
How can I set the max width of label target of element?
Thankyou so much.

image

The size of a label (and external label) is “hard coded” into the BpmnRenderer. You could create a Custom Renderer and change it.

To be more precise, the width is hardcoded in TextRenderer which takes a string of text and makes sure it fits into a certain box with a maximum width. This could be made configurable in the future.