Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Sorno on February 12, 2014, 01:42:03 am
-
Hi,
In my profile I have replaced the shape of a stereotype from the native with this shape script:
shape main{
noshadow = "true";
h_align = "center";
setfillcolor(153,249,153);
roundrect(0,0,100,100,25,25);
println("«#stereotype#»");
println("name");
}
My problem is that the name of an element is normally in bold, and I wonder if it is possible to make the text in shapescript consistent with this (i.e. the text in the script above has normal weight)?
I know that the help file says "You cannot change the font size, type or color of this text".. but it has been wrong before.
Using EA 10.1009.
Thanks for any input!
-
And the answer is: you can not change fonts individually for text strings but only globally for the whole element.
q.
-
Allright, thanks.