Can't change background color of UML block

544 views
Skip to first unread message

Ellen Spertus

unread,
Apr 24, 2022, 8:28:35 PM4/24/22
to diagrams.net Q&A
I would like to be able to change the background color of a UML Class. If I drag one out, then select all objects (Control-a) and set the fill color, there is an uncolored region above and below the black horizontal line separating fields from methods, as shown:

Untitled Diagram.drawio.png
How would I fill in that area?

This is the style on the line:

line;strokeWidth=1;fillColor=#FFD966;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;


How would I make the background all the same color?

Thank you.

Ellen

diagrams.net Q&A

unread,
Apr 25, 2022, 6:31:42 AM4/25/22
to diagrams.net Q&A
Hi,

for the title "Classname" use "Fill" option and for rows use "Lanecolor" as shown in the image below.

Regards,

uml.JPG

Ellen Spertus

unread,
Apr 25, 2022, 1:01:58 PM4/25/22
to diagrams.net Q&A
Thanks so much!
Reply all
Reply to author
Forward
0 new messages