Is there a way to set top, bottom, left, and right paddings individually?

0 votes
asked Sep 3 in Wanted features by Behrang

For some reason in recent versions of PlantUML text inside a class overlaps the right border of the class:

https://imgur.com/a/5HinTeK

  1. Is there a current workaround to prevent this from happening?
  2. Is there a way to add a 10px padding to the right side of class boxes without changing their bottom, left, and top paddings?
Thanks in advance.

2 Answers

0 votes
answered 2 days ago by Hendrik (160 points)
you might add add the end of the line (without the brackets:

[      <size:0>.]

this adds a few spaces at the end of the line
0 votes
answered 2 days ago by plantuml (202,540 points)
Could you post here the source text of your diagram ?

It would help us!

Thanks,
...