Please provide a skinparam to set the tabulation width in number of spaces

0 votes
asked Sep 11, 2015 in Closed feature request by anonymous

I use \t to align fields with a structure say in an object definition.

Please provide a skinparam to set the tabulation width in number of spaces, so that I could for example have a tab with a 2 spaces width.

Suggested syntax: skinparam tabSize 2

1 Answer

0 votes
answered Sep 16, 2015 by plantuml (184,620 points)
selected Jul 14 by Anthony-Gaudino
 
Best answer

In the last beta: https://dl.dropboxusercontent.com/u/13064071/plantuml.jar
we have added a skinparam tabSize X, where X is the width in spaces.

Example:

@startuml
skinparam tabSize 2
object foo {
\tfield1
\tfield2
\tfield3
\tfield5\tfield6
}
@enduml

Does is work for you ?

...