Padding and Margin in Card or Rectangles not working

0 votes
asked Dec 3, 2024 in Question / help by VS (120 points)

Hello, I am trying to add padding and margin to a card and rectangle. But it is not showing up. I don't know if this is a bug or just not implemented yet. 

Link to an example:https://www.plantuml.com/plantuml/uml/SoWkIImgAStDuR8fBgdCIRNZIauiIb6evWf8J4d9p4jNC3JWyaqiIi_CKp3bgkKgIaqkISnBpqb5KG5J0c825TdeGus2c0KY787g5HGKuDh1B4TC8IUkMeGc9oukY5vTNJke04WDCjyXDIy5w7W0

Code:

@startuml
<style>
card {
Padding 10
Margin 5
}
rectangle {
Padding 100
Margin 100
}
</style>

card cardA {
   rectangle rectA
   rectangle rectB
}
card cardB
cardA --> cardB
rectA --> cardB
@enduml

You can change the values for padding and margin, and nothing happens on the diagrams.
It works for root, but not for card/rectangle or even stereotypes.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...