Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: damien on May 21, 2008, 07:57:01 pm

Title: Auto-resize connector's labels
Post by: damien on May 21, 2008, 07:57:01 pm
Hello,

I have a little problem with labels, i would show the value of a tagged value in a label attached to a connector. I success with this code (in a UML profiles)

label SourceBottomLabel{
      print("#TAG:Condition#");
}

My problem is that the size of the label is not resize compared to the size of the text in the label.

How can i do it ?

Thanks you
Bye

 

Title: Re: Auto-resize connector's labels
Post by: damien on May 22, 2008, 12:48:09 am
Up
Title: Re: Auto-resize connector's labels
Post by: Eve on May 22, 2008, 08:26:43 am
I don't think you can.

Connector labels automatically wrap to the width set. However you should be able to resize the label to prevent it from wrapping.