New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sequenceMessageAlign direction does not center for arrow in two directions #132

Closed
jessetan opened this Issue Jun 29, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@jessetan

jessetan commented Jun 29, 2018

When skinparam sequenceMessageAlign direction is set, the text alignment of messages depends on the direction of the arrow. If the arrow points right, the text is left aligned. If the arrow points left, the text is right aligned.
However if the message has arrows pointing both ways (Bob<->Alice), the text is not centered, but is also left aligned.

@startuml
skinparam sequenceMessageAlign direction
Bob->Alice: This is a long message to increase the distance between Alice and Bob
Bob->Alice: should be left aligned
Alice->Bob: should be right aligned
Alice<->Bob: should be centered
@enduml

Example image

PlantUML version 1.2018.08

@arnaudroques

This comment has been minimized.

Show comment
Hide comment
@arnaudroques

arnaudroques Jul 1, 2018

Contributor

Thanks for the feedback.
This should be fixed in last beta http://beta.plantuml.net/plantuml.jar

Contributor

arnaudroques commented Jul 1, 2018

Thanks for the feedback.
This should be fixed in last beta http://beta.plantuml.net/plantuml.jar

@jessetan

This comment has been minimized.

Show comment
Hide comment
@jessetan

jessetan Jul 2, 2018

Verified fixed in the beta, thanks for the quick response!

jessetan commented Jul 2, 2018

Verified fixed in the beta, thanks for the quick response!

@jessetan jessetan closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment