Skip to content
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

Fixes issue plantuml#1746: (timing diagram) message labels ignore default style #1774

Merged
merged 1 commit into from
May 11, 2024

Conversation

jimnelson372
Copy link
Contributor

This is the fix for issue #1746 that I mentioned in comments there.

Other than the new font settings for the TimingDiagram arrow in the plantuml.skin and rose.skin files, this change is isolated to just the TimeArrow.java file. I just had to make the textLabel get its style in a similar manner to how the text in the TimeConstraint file got its style, mostly changing the getFontConfiguration(..) method to use the same steps.

The only change after my comments in the issue discussion is that I took away the 2 space padding I had mentioned adding because I decided I didn't know all the implications of that extra padding for all rotations of the message arrow, and it wasn't part of the issue to begin with (just an esthetic preference I had). In other words, this change is now only about resolving the issue with the user configurability of the message font (style, size, color).

Let me know if you have any questions, need any changes made, etc. All the images I thought to share here are in the issue discussion.

Regards,
Jim Nelson

@arnaudroques arnaudroques merged commit cd988a2 into plantuml:master May 11, 2024
9 checks passed
@jimnelson372 jimnelson372 deleted the timingdiagram branch May 11, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants