interface with sprite doesn't always display sprite

0 votes
asked Jan 20, 2021 in Bug by Martin (6,780 points)

One 'interface with sprite & text' on its own doesn't draw very well:

@startuml
interface #white "long text" as A <<$archimate/principle-filled>>
@enduml

However, two of them together draw perfectly!

@startuml
interface #white "long text" as A <<$archimate/principle-filled>>
interface #white "long text" as B <<$archimate/principle-filled>>
@enduml

commented Jan 20, 2021 by The-Lu (37,840 points)

Hello Martin and PlantUML team,

In fact, that is more generic:

  • alone interface on component/deployment diagram is cropped
  • alone interface on class diagram is good

Here is a minimal example:

class diagram : OK
@startuml
interface "a b c d e f g h i" #pink
@enduml
component/deployment diagram : KO
@startuml
interface #pink "a b c d e f g h i"
@enduml

That is not an urgent issue, because it occurs only when you have only one interface!

Thanks for your support,
Regards,
Th.
 

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.
...