Apply skinparam defaultTextAlignment to other items

0 votes
asked Jul 5, 2016 in Wanted features by legz (510 points)

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.

1 Answer

0 votes
answered Jul 5, 2016 by plantuml (131,770 points)
selected Jul 11, 2016 by legz
 
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,

commented Jul 11, 2016 by legz (510 points)
Thanks for the beta, I will test the other diagram items asap.
...