New styling not working for nesting elements

0 votes
asked Feb 1, 2022 in Bug by 1derer (200 points)


Take for example, this small diagram using the old formatting commands:

skinparam frameBorderColor Blue
skinparam frameBackgroundcolor LightBlue
skinparam frameShadowing false
skinparam rectangleBorderColor Green
skinparam rectangleBackgroundcolor LightGreen
skinparam rectangleShadowing true
frame Foo5 {
  rectangle Foo6

If I try it in the new styling format, then the nesting element properties are not rendered at all:

  frame {
    LineColor Blue
    BackgroundColor LightBlue
    Shadowing 0
  rectangle {
    LineColor Green
    Backgroundcolor LightGreen
    Shadowing 1
frame Foo5 {
  rectangle Foo6

So, the frame line is not blue, background is not light blue and the shadow is still showing even though I set it to 0. This happens with other types of diagrams too (i.e.: Deployment, Component, etc.). 

Is the new styling supported already for all kinds of elements in all diagram types? Else, is it possible to make it available? I'm really trying to do without the good ol' SKINPARAM, but this is making it really difficult ;)


1 Answer

+1 vote
answered Feb 1, 2022 by plantuml (295,000 points)
selected Feb 1, 2022 by 1derer
Best answer

Thanks for the feedback.
This has been just fixed in last release.

New styling should be working completely now, so please post if you find other issues :-)

commented Feb 1, 2022 by 1derer (200 points)
Great. Thanks! Will test extensively and get back if I find anything weird.
commented Feb 2, 2022 by The-Lu (65,440 points)
Thank you very much, this will fix many of these requests or reported bugs...
asked Feb 2, 2022 in Wanted features by The-Lu (65,440 points) Allow new styling for nested package