Archi Forum

Archi => General Archi Discussion => Topic started by: obosha on April 29, 2018, 21:49:01 PM

Title: Multi-line Wrapping for Labels for On-Screen Objects
Post by: obosha on April 29, 2018, 21:49:01 PM
Does anyone know if there is a way to control how your object's label wrapping occurs?  What I mean is that I'd like to control how/where my labels wrap by adding carriage return to the text, but it doesn't seem that carriage returns are allowed in an object's name.

Ultimately, I want a way to display multi-line content on my object like:

[MyService]
Price Routing

but I can't seem to find a way to do that.  You seem to only be able to enter one line of text, with no carriage returns.
Title: Re: Multi-line Wrapping for Labels for On-Screen Objects
Post by: Hervé on April 29, 2018, 21:54:25 PM
Hi,

You may use my specialization plugin (https://github.com/archi-contribs/specialization-plugin (https://github.com/archi-contribs/specialization-plugin)) that allows to replace labels and icons.

I know I'm a bit late on the documentation, please do not hesitate to open an issue on GitHub (https://github.com/archi-contribs/specialization-plugin/issues (https://github.com/archi-contribs/specialization-plugin/issues)) if you require some help.

To install the plugin, just download the JAR file to Archi plugins folder and restart Archi.

Best regards
Hervé
Title: Re: Multi-line Wrapping for Labels for On-Screen Objects
Post by: Phil Beauvoir on April 29, 2018, 21:56:42 PM
Also, this issue is tracked here https://github.com/archimatetool/archi/issues/77
Title: Re: Multi-line Wrapping for Labels for On-Screen Objects
Post by: obosha on May 02, 2018, 17:38:00 PM
Thanks all!