Can the spacing around a label within a card be changed?

0 votes
asked Oct 19, 2022 in Question / help by Sam Goldmann

I would like to reduce the spacing around a label within a card. There is too much whitespace in the vertical direction above and below the label "World" in the following diagram:

@startuml 
card "Hello" {
 label "World" 
}
@enduml

1 Answer

0 votes
answered Apr 25, 2023 by The-Lu (64,960 points)

Hi S., and all,

  • What is your goal?
  • Why not using simple card, with creole within:
@startuml 
card C [
 =Hello
 ---
 World
]
@enduml
Regards.
...