Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Apply skinparam defaultTextAlignment to other items

0 votes

This post follows this wanted feature : http://plantuml.sourceforge.net/qa/?qa=4682/param-to-center-text-in-activity&show=4684 delivered in V4085.

I think it would be nice to apply "skinparam defaultTextAlignment" to other activity diagram items (if, repeat while...)

http://www.plantuml.com/plantuml/uml/LSmn3W8X58JXdbEyKg-W5Px1aeQmZ_L563Om6lVsovOsKtp9_EDjs6AFLHRDyLFur1zziHLLGKbpjBl1sEaiNqh3AgbXCLf3W8s0qwx2byA9t7oYVOrxWByxBKF_yJ5nllDCjkq0

If it is not possible, you should maybe rename defaultTextAlignment to activityDefaultTextAlignment to be consistent with the scope of the skinparam.

asked Jul 5, 2016 in Wanted features by legz (490 points)

1 Answer

0 votes
 
Best answer

In last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

We have extended skinparam defaultTextAlignment to your example (and also to repeat & while).

However, this has not been highly tested, so please feedback if you find other issues!

Thanks,

answered Jul 5, 2016 by plantuml (125,210 points)
selected Jul 11, 2016 by legz
Thanks for the beta, I will test the other diagram items asap.
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...