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.

how to set font size in if clausule?

0 votes
Hi,
how to set font size in if clausule?
I have copied from help all listed params but font size is still unchnged inside if box - refer below,
 
@startuml
skinparam activityFontSize 20
skinparam activityArrowFontSize 20
skinparam circledCharacterFontSize 20
skinparam classArrowFontSize 20
skinparam classAttributeFontSize 20
skinparam classFontSize 20
skinparam classStereotypeFontSize 20
skinparam componentFontSize 20
skinparam componentStereotypeFontSize 20
skinparam componentArrowFontSize 20
skinparam noteFontSize 20
skinparam packageFontSize 20
skinparam sequenceActorFontSize 20
skinparam sequenceDividerFontSize 20
skinparam sequenceArrowFontSize 20
skinparam sequenceGroupingFontSize 20
skinparam sequenceGroupingHeaderFontSize 20
skinparam sequenceParticipantFontSize 20
skinparam sequenceTitleFontSize 20
skinparam titleFontSize 20
skinparam stateFontSize 20
skinparam stateArrowFontSize 20
skinparam stateAttributeFontSize 20
skinparam usecaseFontSize 20
skinparam usecaseStereotypeFontSize 20
skinparam usecaseActorFontSize 20
skinparam usecaseActorStereotypeFontSize 20
skinparam usecaseArrowFontSize 20
skinparam footerFontSize 20
skinparam headerFontSize 20
 
start
:tekst1;
if (teks2) then (yes)
 :tekst1;
else (no)
 :tekst1;
endif
:tekst1;
stop
@enduml
 
asked Apr 12 in Wanted features by wro02922 (140 points)

1 Answer

0 votes

Hello,

You should use:

skinparam ActivityDiamondFontSize 20

I found this with the following command:

java -jar C:\PgmFiles\PlantUML\plantuml.jar -language > language.txt

answered Apr 13 by Serge Wenger Work (5,070 points)
many thanks.
Could you take into the consideration help update?
Hello,

I am not the developper, but only a final user like you. So I cannot do anything for this. Sorry.
@Serge: many thanks for helping other users.
There is indeed a lag in documentation, but we will update site & documentation with this setting.

BTW, there is also a defaultFontSize that you might find useful

http://www.plantuml.com/plantuml/uml/LOmn3e0W303tlg8ZRCgekn_m1IIKIC12Q1tqzSP5utQvIqvoukQxtp5Gz4VHfRAkwI9q0uZwhZ0fPT5nXXJHFEmiwaQCvYInW6-d8eI6wyznIF5RYDO6Dm00
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...